public ActionResult DeleteCategory(int id) { try { _blogServices.DeleteCategory(id); return(RedirectToAction("Index", "Home")); } catch (Exception) { throw; } }
public ActionResult DeleteCategory(int id) { try { _blogServices.DeleteCategory(id); return(RedirectToAction("Index", "Home")); } catch (Exception) { throw; } }