public IActionResult Put(int id, [FromBody] DepartureDTO value)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    value.Id = id;
                    airport.UpdateDeparture(value);

                    return(Ok());
                }
                return(BadRequest());
            }
            catch (System.Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }