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