public async Task SaveAsync(VirtualBankDbContext dbContext = null) { if (dbContext != null) { await dbContext.SaveChangesAsync(); } else { await _dbContext.SaveChangesAsync(); } }
public async Task SaveAsync() { await _dbContext.SaveChangesAsync(); }
public async Task SaveAsync(VirtualBankDbContext dbContext) { await dbContext.SaveChangesAsync(); }