public string GetAllCompanyIdbyUser(Guid accountId) { Expression <Func <CompanyUser, bool> > expression = p => p.RecordStatus == Helpdesk.Model.Enums.RecordStatus.A && p.AccountId == accountId; var data = companyUserRepository.GetAllJson(expression, out int records); return(data); }