Esempio n. 1
0
        public IActionResult Delete()
        {
            try
            {
                departureService.DeleteAll();
            }
            catch (Exception ex)
            {
                return(BadRequest(new { Type = ex.GetType().Name, ex.Message }));
            }

            return(NoContent());
        }