Exemple #1
0
        public async Task CreateAsync(Borrowing borrowing)
        {
            await _context.AddAsync(borrowing);

            await _context.SaveChangesAsync();
        }
Exemple #2
0
        public async Task CreateAsync(Book book)
        {
            await _context.AddAsync(book);

            await _context.SaveChangesAsync();
        }