public async Task <ActionResult> Delete([FromBody] int id) { try { await carManager.DeleteCarAsync(id); return(Ok(id)); } catch (CarException ex) { return(BadRequest(ex.Message)); } }