public ActionResult Edit(int id, Category category)
 {
     try
     {
         _categoryService.UpdateCategory(category);
         return RedirectToAction ("Index");
     }
     catch
     {
         return View ("Update", category);
     }
 }
 public ActionResult Create(Category category)
 {
     try
     {
         _categoryService.InsertCategory(category);
         return RedirectToAction ("Index");
     }
     catch
     {
         return View ("Index", category);
     }
 }