Example #1
0
        public async Task AddTransactionsAsync(IEnumerable <Transactions> transactions)
        {
            await context.Transactions.AddRangeAsync(transactions);

            await context.SaveChangesAsync();
        }
        public async Task AddRatesAsync(IEnumerable <Rates> rates)
        {
            await context.Rates.AddRangeAsync(rates);

            await context.SaveChangesAsync();
        }