예제 #1
0
 public StartupCheckingService(
     IMicroBus bus,
     TelegramConfig telegramConfig,
     TelegramBot bot,
     GeneralConfig config,
     LiteDbDatabaseService liteDbDatabaseService,
     CryptoGramBotDbContext context
     )
 {
     _bus                   = bus;
     _telegramConfig        = telegramConfig;
     _bot                   = bot;
     _config                = config;
     _liteDbDatabaseService = liteDbDatabaseService;
     _context               = context;
 }
예제 #2
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context)
 {
     _log     = log;
     _context = context;
 }
예제 #3
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context, GeneralConfig config)
 {
     _log     = log;
     _context = context;
     _config  = config;
 }