/// <summary> /// Calls the method DeleteCategory from the category controller /// </summary> /// <param name="id">id to delete the category</param> public void DeleteCategory(int id) { cCtrl.DeleteCategory(id); }
public void DeleteCategory(int?id) { catCtrl.DeleteCategory(id); }