Example #1
0
        public GuildBankManagerTests()
        {
            var services = MockServices.ScopedServiceProvider;

            _bank      = services.GetService <IGuildBankManager>();
            _bankItems = services.GetService <IGuildBankItemsManager>();
        }
Example #2
0
 public BankItemsController(IGuildBankItemsManager items, IGuildBankManager bank, IDiscordClient client)
 {
     _items  = items;
     _bank   = bank;
     _client = client;
 }