Пример #1
0
 public IActionResult AddJourneyUpdate(JourneyUpdate JourneyUpdate)
 {
     try
     {
         JourneyUpdate.CheckpointId = null;
         var result = _journeyService.AddJourneyUpdate(JourneyUpdate);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         ex.LogException();
         return(Ok(new ServiceResponse {
             Status = DAL.Common.Enums.ResponseStatus.ServerError
         }));
     }
 }