public BotController(IMessageParser messageParser, IConfiguration configuration, ITelegramRepository telegramRepository) { //Injected dependencies _messageParser = messageParser; _telegramRepository = telegramRepository; _token = configuration["BlimpBotTelegramToken"]; }
public HomeController(ILogger <HomeController> logger, ICustomerInfoRepository customerInfoRepository, ITariffRepository tariffRepository, ITelegramRepository telegram, ICourseStartRepository courseStartRepository, IDayInfoRepository dayInfoRepository) { _logger = logger; _customerInfoRepository = customerInfoRepository; _tariffRepository = tariffRepository; _telegram = telegram; _courseStartRepository = courseStartRepository; _dayInfoRepository = dayInfoRepository; }
public MessageParserServices(IWeatherRepository weatherRepository, IExchangeRateRepository exchangeRateRepository, ITelegramRepository telegramRepository, IChatBotRepository chatBotRepository, IReviewRepository reviewRepository, ICryptoRepository cryptoRepository) { _weatherRepository = weatherRepository; _exchangeRateRepository = exchangeRateRepository; _telegramRepository = telegramRepository; _chatBotRepository = chatBotRepository; _reviewRepository = reviewRepository; _cryptoRepository = cryptoRepository; }
public TelegramController(ITelegramRepository tRepo) { _tRepo = tRepo; }