Esempio n. 1
0
 public IEnumerable <Apartment> GetAllWithoutCondominium(string user)
 {
     return(_items.AsQueryable().Where(ApartmentQueries.GetAllWithoutCondominium(user)));
 }
Esempio n. 2
0
 public IEnumerable <Apartment> GetAllWithoutCondominium(string user)
 {
     return(_context.Apartments.AsNoTracking().Where(ApartmentQueries.GetAllWithoutCondominium(user)));
 }
Esempio n. 3
0
 public IEnumerable <Apartment> GetAll(string user)
 {
     return(_items.AsQueryable().Where(ApartmentQueries.GetAll(user)));
 }
Esempio n. 4
0
 public IEnumerable <Apartment> GetAll(string user)
 {
     return(_context.Apartments.Include(con => con.Condominium).Include(con => con.Residents).AsNoTracking().Where(ApartmentQueries.GetAll(user)));
 }