public virtual IActionResult GetAllCompanies() { try { var companiesCommand = _companyAppService.GetAllCompanies(); return(ReturnResponse(companiesCommand)); } catch (Exception e) { throw new Exception("Message: " + e.Message); } }