Exemple #1
0
        public async Task Add(Account account)
        {
            await _context.Accounts.AddAsync(account);

            await _context.SaveChangesAsync();
        }
        public async Task Add(Customer customer)
        {
            await _context.Customers.AddAsync(customer);

            await _context.SaveChangesAsync();
        }