Пример #1
0
 /// <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);
 }
Пример #2
0
 public void DeleteCategory(int?id)
 {
     catCtrl.DeleteCategory(id);
 }