Ejemplo n.º 1
0
        public IActionResult DeleteFlight(long id)
        {
            var entity = service.TryCancelFlight(id);

            return(entity ? Ok() : StatusCode(304) as IActionResult);
        }