public virtual IActionResult CreateCompany([FromBody] CompanyViewModel company) { try { var companyCommand = _companyAppService.CreateCompany(company); return(ReturnResponse(companyCommand, companyCommand, null)); } catch (Exception e) { return(BadRequest("Error: " + e.Message)); } }