コード例 #1
0
 public IQueryable <Domain.Contract> GetAll()
 {
     return(contractsRepo.GetAll()
            .Include(x => x.Provider.ApplicationUser)
            .Include(x => x.Client.ApplicationUser));
 }
コード例 #2
0
 public IQueryable <Domain.ApplicationRole> GetAllRoles()
 {
     return(roleRepo.GetAll());
 }
コード例 #3
0
 public IQueryable <Domain.Admin> GetAllAdmins()
 {
     return(adminParticipantRepo.GetAll()
            .Include(s => s.ApplicationUser));
 }
コード例 #4
0
 public IQueryable <Domain.Client> GetAllClients()
 {
     return(clientParticipantRepo.GetAll()
            .Include(s => s.ApplicationUser));
 }