Beispiel #1
0
        public IQueryable <CheckingAccount> GetAll(CheckingAccountQuery query)
        {
            IQueryable <CheckingAccount> result;

            if (query == null)
            {
                result = _checkingAccountRepository.GetAll(null);
            }
            else
            {
                result = _checkingAccountRepository.GetAll(query.Quantity);
            }

            return(result);
        }
Beispiel #2
0
 public IQueryable <CheckingAccount> GetAll(int?quantity = null)
 {
     return(_checkingAccountRepository.GetAll(quantity));
 }