Exemple #1
0
        public async Task <IActionResult> Delete(Guid id)
        {
            try
            {
                await _flightService.DeleteEntityAsync(id);
            }
            catch (NotFoundException)
            {
                return(NotFound());
            }

            return(NoContent());
        }