public async Task <IActionResult> Get(string number)
 {
     try
     {
         return(Ok(await _flightsService.GetByIdAsync(number)));
     }
     catch (NotExistException)
     {
         return(NotFound());
     }
 }