Esempio n. 1
0
 public ResponseController(
     IValeoAPIService api,
     ILogger <ResponseController> logger,
     ValeoKeyboardsService keyboardsService,
     SessionService sessionService,
     IReviewCacheService reviewCacheService)
 {
     _api                = api;
     _logger             = logger;
     _keyboardsService   = keyboardsService;
     _sessionService     = sessionService;
     _reviewCacheService = reviewCacheService;
 }
 public AuthorizationService(
     ILogger <AuthorizationService> logger,
     IDataRepository <ValeoUser> userRepository,
     IDataRepository <Order> orderRepository,
     IDataRepository <Registration> regRepository,
     ValeoLifeBot valeoBot,
     IValeoAPIService valeoApi,
     IOptions <ValeoApiConfig> apiConfig,
     IOptions <BotOptions> botConfig
     )
 {
     this.logger          = logger;
     this.userRepository  = userRepository;
     this.orderRepository = orderRepository;
     this.regRepository   = regRepository;
     this.valeoBot        = valeoBot;
     this.valeoApi        = valeoApi;
     this.apiConfig       = apiConfig;
     this.botConfig       = botConfig;
 }