public async Task <ActionResult <IEnumerable <AirplaneViewModel> > > GetAirplanes([FromQuery] string name) { var results = await _airplaneService.GetAirplanesAsync(name); return(Ok(results)); }
public async Task <ActionResult <IEnumerable <AirplaneViewModel> > > GetAirplanes([FromQuery] string name) { var results = await _airplaneService.GetAirplanesAsync(name); return(Ok(results)); }