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