public async Task <ActionResult> DeleteMenuItem(int id) { try { await _service.DeleteMenuItemAsync(id); return(Ok()); } catch (Exception e) { return(Conflict(e.Message)); } }