BankAccountBalanceRepository.cs 444 B

123456789101112131415161718192021
  1. 
  2. namespace Repository;
  3. public class BankAccountBalanceRepository : RepositoryBase<BankAccountBalance> , IBankAccountBalanceRepository
  4. {
  5. public BankAccountBalanceRepository(RepositoryContext repositoryContext)
  6. :base(repositoryContext)
  7. {
  8. }
  9. public IQueryable<BankAccountBalance> GetByBankAccountId(Guid accountId, Guid businessId)
  10. {
  11. return FindByCondition(x => x.BankAccountId == accountId && x.BusinessId == businessId);
  12. }
  13. }