Beispiel #1
0
 public async Task SaveAsync(VirtualBankDbContext dbContext = null)
 {
     if (dbContext != null)
     {
         await dbContext.SaveChangesAsync();
     }
     else
     {
         await _dbContext.SaveChangesAsync();
     }
 }
Beispiel #2
0
 public async Task SaveAsync()
 {
     await _dbContext.SaveChangesAsync();
 }
Beispiel #3
0
 public async Task SaveAsync(VirtualBankDbContext dbContext)
 {
     await dbContext.SaveChangesAsync();
 }