public AdminController(ILogger <AdminController> logger, IMongoTransaction mongoTransaction, IConfiguration configuration) { this._Logger = logger; this._MongoTransaction = mongoTransaction; this._AdminTransaction = new AdminTransaction(this._MongoTransaction, configuration, logger); }
public IndexController(ILogger <IndexController> logger, IMongoTransaction mongoTransaction) { this._Logger = logger; this._AdminTransaction = new AdminTransaction(mongoTransaction, logger); }