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