Exemple #1
0
 public async Task UpdateAsync(Borrowing borrowing)
 {
     _context.Update(borrowing);
     await _context.SaveChangesAsync();
 }
Exemple #2
0
 public async Task UpdateAsync(Book book)
 {
     _context.Update(book);
     await _context.SaveChangesAsync();
 }