Exemple #1
0
 public async Task <JsonResult> GetAll()
 {
     try {
         var data = ItemCategoryService.GetAll();
         return(Success(ItemCategoryVM.MsToVMs(data)));
     } catch { return(Failed(MessageUtility.ServerError())); }
 }
 public ActionResult GetAll()
 {
     item.GetAll();
     return(View());
 }