public ActionResult CategoryDelete(Category category) { var categoryService = new CategoryLogic(); categoryService.DeleteCategory(category.CategoryId); return RedirectToAction("Categories"); }