Esempio n. 1
0
        public async Task <IActionResult> DeleteOil(int id)
        {
            try
            {
                var result = await _garageService.DeleteOil(id);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                ex.ToExceptionless().Submit();
                return(BadRequest());
            }
        }