public IActionResult Create(Actors actors) { if (ModelState.IsValid) { _context.CreateActor(actors); return(RedirectToAction("Index")); } return(View(actors)); }
public IActionResult Create(Actors actors) { if (ModelState.IsValid) { _context.CreateActor(actors); return(RedirectToAction("Index")); } return(View(actors)); }