Ejemplo n.º 1
0
 public async Task <IActionResult> GetUserLatestOrder(OrderParam orderParam)
 {
     try
     {
         return(new JsonResult(await _orderApi.GetLatestOrderAsync(orderParam)));
     }
     catch
     {
         return(new BadRequestResult());
     }
 }