예제 #1
0
 public IActionResult UpdateJourneyStatus(int journeyId, JourneyStatus status)
 {
     try
     {
         var result = _journeyService.UpdateJourneyStatus(journeyId, status);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         ex.LogException();
         return(Ok(new ServiceResponse {
             Status = DAL.Common.Enums.ResponseStatus.ServerError
         }));
     }
 }