コード例 #1
0
        public XXBillsController(IAppLogger logger, IBillsService billsService, IPaysService paysService,
                                 IThirdPartyPayService thirdPartyPayService, IMapper mapper)
        {
            _logger = logger;

            _billsService         = billsService;
            _paysService          = paysService;
            _thirdPartyPayService = thirdPartyPayService;
            _mapper = mapper;
        }
コード例 #2
0
        public XXSubscribesController(IOptions <SubscribesSettings> subscribesSettings,
                                      ISubscribesService subscribesService, IPlansService plansService,
                                      IPaysService paysService, IBillsService billsService,
                                      IAppLogger logger, IMapper mapper)
        {
            _subscribesSettings = subscribesSettings.Value;

            _subscribesService = subscribesService;
            _plansService      = plansService;
            _paysService       = paysService;
            _billsService      = billsService;
            _logger            = logger;
            _mapper            = mapper;
        }
コード例 #3
0
        public TestsService(IAppLogger logger, IOptions <AppSettings> appSettings,
                            IPaysService paysService, IBillsService billsService,
                            ISubscribesService subscribesService, IUsersService usersService, IAuthService authService)
        {
            _logger      = logger;
            _appSettings = appSettings.Value;


            _paysService       = paysService;
            _billsService      = billsService;
            _subscribesService = subscribesService;

            _usersService = usersService;
            _authService  = authService;
        }
コード例 #4
0
        public SubscribesService(Web.Services.IThirdPartyPayService thirdPartyPayService,
                                 ApplicationCore.Services.ISubscribesService subscribesService,
                                 IPlansService plansService, IBillsService billsService, IPaysService paysService,
                                 IUsersService usersService,
                                 IOptions <SubscribesSettings> subscribesSettings, IOptions <AdminSettings> adminSettings,
                                 IAppLogger logger, IMapper mapper)
        {
            _subscribesService    = subscribesService;
            _plansService         = plansService;
            _billsService         = billsService;
            _paysService          = paysService;
            _thirdPartyPayService = thirdPartyPayService;
            _usersService         = usersService;

            _subscribesSettings = subscribesSettings.Value;
            _adminSettings      = adminSettings.Value;
            _logger             = logger;
            _mapper             = mapper;
        }