Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult DeleteConfirmed(int id) { Category category; using (Repos repo = new Repos()) { category = repo.GetCategoryByID(id); repo.DeleteCategory(category.CategoryID); } return(RedirectToAction("Index")); }