Exemplo n.º 1
0
 public IActionResult GetCheckpointsByJourneyId(int journeyId)
 {
     try
     {
         return(Ok(_checkpointService.GetCheckpointsByJourneyId(journeyId)));
     }catch (Exception ex)
     {
         return(Ok(new ServiceResponse {
             Status = DAL.Common.Enums.ResponseStatus.ServerError, Exception = ex.ToString()
         }));
     }
 }