Пример #1
0
 public IActionResult UpdateJourneyRiskStatus(int journeyId, bool?isNight, RiskStatus?status)
 {
     try
     {
         var result = _journeyService.UpdateJourneyRiskStatus(journeyId, isNight, status);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         ex.LogException();
         return(Ok(new ServiceResponse {
             Status = DAL.Common.Enums.ResponseStatus.ServerError
         }));
     }
 }