public async Task <IActionResult> CreateOil(int selectedGarageId, string name) { try { var result = await _garageService.CreateOil(selectedGarageId, name); return(Ok(result)); } catch (Exception ex) { ex.ToExceptionless().Submit(); return(BadRequest()); } }