public ActionResult Create(Superhero superhero) { superheroRepository.Add(superhero); superheroRepository.Save(); return(RedirectToAction("Index")); }
public ActionResult Create(Superhero superhero) { superheroRepository.Add(superhero); superheroRepository.Save(); return(RedirectToAction("Index")); }