public Task AddAsync(RoundUp entity) => _dbContext.Set <RoundUp>().AddAsync(entity);
public Task <DirectDebitPayment> FindById(Guid posPaymentId) { return(_dbContext.Set <DirectDebitPayment>().FindAsync(posPaymentId)); }
public async Task Add(BankDetail item) { await _context.Set <BankDetail>().AddAsync(item); await _context.SaveChangesAsync(); }
public virtual IEnumerable <T> GetAll() { return(dbContext.Set <T>() .AsEnumerable()); }
public virtual async Task <T> CreateAsync(T item) { if (item == null) { throw new ArgumentNullException("item"); } await _dbContext.Set <T>().AddAsync(item); return(item); }
public Task AddAsync(BankTransfer entity) => _dbContext.Set <BankTransfer>().AddAsync(entity);
public Task AddAsync(CashWithdrawal entity) => _dbContext.Set <CashWithdrawal>().AddAsync(entity);
public Task AddAsync(Exchange entity) => _dbContext.Set <Exchange>().AddAsync(entity);
public AccountRepository(BankingDbContext bankingDbContext) { this.bankingDbContext = bankingDbContext; accounts = bankingDbContext.Set <Account>(); }
public Task AddAsync(Collection entity) => _dbContext.Set <Collection>().AddAsync(entity);