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