public ActionResult EditCategory(Category newCategory)
 {
     try
     {
         _blogServices.EditCategory(newCategory);
         return(RedirectToAction("AdminPanel", "Admin"));
     }
     catch (Exception)
     {
         return(View("Error"));
     }
 }