Costomers och Movies fungerar med validation
This commit is contained in:
@ -41,6 +41,7 @@ namespace Vidly.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[ValidateAntiForgeryToken]
|
||||
public ActionResult Save(Customer customer)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
|
||||
Reference in New Issue
Block a user