Example #1
0
 public async Task <IActionResult> GetStorageDetail(int id_storage)
 {
     try
     {
         return(Ok(_storageStore.GetStorageDetail(id_storage)));
     }
     catch (Exception ex)
     {
         return(BadRequest(Json(new { message = ex.Message })));
     }
 }