public ActionResult Edit(Category category)
 {
     try
     {
         // TODO: Add update logic here
         bool update = dal.Update(category);
         if (update)
         {
             return(RedirectToAction("Index"));
         }
         return(View(category));
     }
     catch
     {
         return(View());
     }
 }