Example #1
0
 /// <summary>
 /// Deletes the item.
 /// </summary>
 /// <param name="loadCategory">The load category.</param>
 /// <returns></returns>
 internal bool DeleteItem(LoadCategory loadCategory)
 {
     return(LoadCategoryController.DeleteLoadCategory(loadCategory));
 }
Example #2
0
 /// <summary>
 /// Gets all items.
 /// </summary>
 /// <returns></returns>
 internal List <LoadCategory> GetAllItems()
 {
     return(LoadCategoryController.GetLoadCategories());
 }
Example #3
0
 /// <summary>
 /// Saves the item.
 /// </summary>
 /// <param name="loadCategory">The load category.</param>
 /// <returns></returns>
 internal int SaveItem(LoadCategory loadCategory)
 {
     return(LoadCategoryController.SaveLoadCategory(loadCategory));
 }
Example #4
0
 /// <summary>
 /// Gets the item.
 /// </summary>
 /// <param name="id">The id.</param>
 /// <returns></returns>
 internal LoadCategory GetItem(int id)
 {
     return(LoadCategoryController.GetLoadCategory(id));
 }