Ejemplo n.º 1
0
 public IActionResult AssignJourneyDriverVehicle(int journeyId, Guid driverId, string vehcileNo)
 {
     try
     {
         var result = _journeyService.AssignJourneyDriverVehicle(journeyId, driverId, vehcileNo);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         ex.LogException();
         return(Ok(new ServiceResponse {
             Status = DAL.Common.Enums.ResponseStatus.ServerError
         }));
     }
 }