Beispiel #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;
 }
Beispiel #2
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context)
 {
     _log     = log;
     _context = context;
 }
Beispiel #3
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context, GeneralConfig config)
 {
     _log     = log;
     _context = context;
     _config  = config;
 }