Example #1
0
 public async Task SaveAsync()
 {
     await _context.SaveChangesAsync();
 }
Example #2
0
 public async Task CommitChangesAsync()
 => await _dbContext.SaveChangesAsync();
 public async Task Commit(CancellationToken cancellationToken = default)
 => await _context.SaveChangesAsync(cancellationToken);