public ActionResult Create(TVShowCreate tVShowCreate) { if (ModelState.IsValid) { _db.TVShowCreates.Add(tVShowCreate); _db.SaveChanges(); return(RedirectToAction("Index")); } return(View(tVShowCreate)); }
public bool Save() { return(_context.SaveChanges() >= 0); }