public async Task <List <Shuttle> > GetShuttle([FromQuery] string toSearch, [FromQuery] Guid[] guids,
                                                [FromQuery] int pagination = 50, [FromQuery] int skip = 0)
 {
     try
     {
         return(await _service.GetAllShuttles(toSearch, guids.ToList(), pagination, skip));
     }
     catch (CrewApiException exception)
     {
         exception.LogException(_logger);
         return(null);
     }
     catch (Exception exception) when(exception.GetType() != typeof(CrewApiException))
     {
         _logger.LogCritical(exception, "Unhandled unexpected exception while retrieving shuttles");
         return(null);
     }
 }
 public async Task <int> GetShuttleCount([FromQuery] Guid shuttleId)
 {
     try
     {
         return((await _shuttleService.GetAllShuttles(toSearch: new string(""), guids: new List <Guid> {
             shuttleId
         })).Count);
     }
     catch (CrewApiException exception)
     {
         exception.LogException(_logger);
         return(-1);
     }
     catch (Exception exception) when(exception.GetType() != typeof(CrewApiException))
     {
         _logger.LogCritical(exception, "Unhandled unexpected exception while retrieving shuttles count");
         return(-1);
     }
 }