Пример #1
0
        public async Task <ActionResult> DeleteAirport(int id)
        {
            Response <string> deleteResult = await _airportService.DeleteAirportAsync(id);

            if (deleteResult.Success == false)
            {
                return(BadRequest(deleteResult));
            }

            return(Ok(deleteResult));
        }