public IQueryable <CheckingAccount> GetAll(CheckingAccountQuery query) { IQueryable <CheckingAccount> result; if (query == null) { result = _checkingAccountRepository.GetAll(null); } else { result = _checkingAccountRepository.GetAll(query.Quantity); } return(result); }
public IQueryable <CheckingAccount> GetAll(int?quantity = null) { return(_checkingAccountRepository.GetAll(quantity)); }