Example #1
0
        public IEnumerable <Condominium> Read(long subsidiaryId, string codeName = null, short pageNumber = 0, short rowsPerPage = 0, IEnumerable <KeyValuePair <string, SortOrder> > orderBy = null)
        {
            IQueryable <Condominium> query = Collection.AsQueryable();

            query = CondominiumRepository.GetReadQuery(query, subsidiaryId, codeName, pageNumber, rowsPerPage, orderBy);
            return(query.ToList());
        }
 public CondominiumServiceImpl(neighlinkdbContext dbContext)
 {
     _condominiumRepository = new CondominiumRepository(dbContext);
 }