public ActionResult Edit(Category category) { if (ModelState.IsValid) { CategoryServices.SaveEntity(category); return RedirectToAction("Index"); } return View(category); }