Exemplo n.º 1
0
        public AdminController(ILogger <AdminController> logger, IMongoTransaction mongoTransaction, IConfiguration configuration)
        {
            this._Logger = logger;

            this._MongoTransaction = mongoTransaction;

            this._AdminTransaction = new AdminTransaction(this._MongoTransaction, configuration, logger);
        }
Exemplo n.º 2
0
        public IndexController(ILogger <IndexController> logger, IMongoTransaction mongoTransaction)
        {
            this._Logger = logger;

            this._AdminTransaction = new AdminTransaction(mongoTransaction, logger);
        }