Пример #1
0
 public PremiumInfoController(IdgwConnectorManager idgwConnectorManager, StatePremiumInfoService authorizationStateService, PremiumInfoValidationService premiumInfoValidationService, IOptions <Settings> settings)
 {
     this.idgwConnectorManager         = idgwConnectorManager;
     this.authorizationStateService    = authorizationStateService;
     this.premiumInfoValidationService = premiumInfoValidationService;
     this.settings = settings.Value;
 }
Пример #2
0
 public MCTokenController(
     IdgwConnectorManager idgwConnectorManager,
     IOptions <Settings> settings,
     StateDIAuthorizationService stateDIAuthorization,
     StatePremiumInfoService statePremiumInfo,
     DIMCTokenService tokenService
     )
 {
     this.settings             = settings.Value;
     this.idgwConnectorManager = idgwConnectorManager;
     this.stateDIAuthorization = stateDIAuthorization;
     this.statePremiumInfo     = statePremiumInfo;
     this.tokenService         = tokenService;
 }