public IUnitOfWorkAsync CreateAsync()
{
return _contextType == null ?
new EntityFrameworkUnitOfWorkAsync(_configuration, _contextFactory, _dbConfiguration, _logger) :
new EntityFrameworkUnitOfWorkAsync(_contextType, _connectionString, _dbConfiguration, _logger);
}
}