public ActionResult Edit(Champion champ) { if (ModelState.IsValid) { championService.InsertOrUpdate(champ); return RedirectToAction("Index"); } return View(champ); }
public ActionResult Create(Champion model) { if (ModelState.IsValid) { championService.InsertOrUpdate(model); return RedirectToAction("Index"); } return View(model); }