예제 #1
0
 public async Task <IActionResult> CookNowAsync(int id)
 {
     try
     {
         await _service.CookNowAsync(id);
     }
     catch (DataObjectNotFoundException e)
     {
         return(NotFound(e.Message));
     }
     return(Ok());
 }