// GET: Movies public ActionResult Movies() { var movie = new Movie(); return(View(movie)); }
public ActionResult Create(Movie movie) { _context.Movies.Add(movie); _context.SaveChanges(); return(RedirectToAction("Movies")); }