public IActionResult UpdateCompany([FromBody] CompanyUpdateModel companyUpdateModel) { if (companyUpdateModel == null) { return(NoContent()); } bool check = _companyLogic.UpdateCompany(companyUpdateModel); if (check) { return(Ok("Update Company Successful")); } else { return(BadRequest("Cannot Update Company")); } }