public SelectList GetAllDomainsAsSelectList(int selectDomainID) { return(new SelectList(DomainsRepository.GetAll().OrderBy(d => d.DO_CompanyName), "DomainID", "DO_CompanyName", selectDomainID)); }
public List <tbl_Domains> GetAllDomains() { return(DomainsRepository.GetAll().ToList()); }