public ActionResult Create(PersonModel person) { if (ModelState.IsValid) { birthdays.Persons.Add(person); birthdays.SaveChanges(); return(RedirectToAction("Index")); } else { // } return(View()); }