public async Task <IActionResult> DeleteCompany(int id) { if (!await _service.DeleteCompany(id)) { return(StatusCode(404)); } return(StatusCode(200)); }