public ActionResult Create(Author author) { _db.Authors.Add(author); _db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Create(Patron newPatron) { _db.Patrons.Add(newPatron); _db.SaveChanges(); return(RedirectToAction("Index")); }