Example #1
0
 public HomeController(
     ILangService langService,
     ILangDetailService langDetailService,
     IMapper mapper,
     IViewRenderService viewRenderService,
     IUnitOfWorkAsync unitOfWork,
     ISettingService settingService,
     ILotteryService lotteryService,
     IDataContextAsync context,
     IFAQService faqService,
     ITemplateService templateService,
     IPricePredictionService pricePredictionService,
     ILotteryHistoryService lotteryHistoryService,
     ISliderService sliderService,
     INewsService newsService)
 {
     this._langService            = langService;
     this._langDetailService      = langDetailService;
     this._mapper                 = mapper;
     this._viewRenderService      = viewRenderService;
     this._settingService         = settingService;
     this._unitOfWork             = unitOfWork;
     this._faqService             = faqService;
     this._lotteryService         = lotteryService;
     this._templateService        = templateService;
     this._context                = context;
     this._newsService            = newsService;
     this._pricePredictionService = pricePredictionService;
     this._lotteryHistoryService  = lotteryHistoryService;
     this._sliderService          = sliderService;
 }
 public PricePredictionController(
     ILangService langService,
     IMapper mapper,
     IViewRenderService viewRenderService,
     IUnitOfWorkAsync unitOfWork,
     ISettingService settingService,
     ITemplateService templateService,
     ISysUserService sysUserService,
     IPricePredictionService pricePredictionService,
     IPricePredictionHistoryService pricePredictionHistoryService,
     IQuartzSchedulerService quartzSchedulerService,
     IBTCPriceService btcPriceService,
     IHubContext <UserPredictionProgressHub> progressHubContext)
 {
     this._langService                   = langService;
     this._mapper                        = mapper;
     this._viewRenderService             = viewRenderService;
     this._settingService                = settingService;
     this._unitOfWork                    = unitOfWork;
     this._templateService               = templateService;
     this._sysUserService                = sysUserService;
     this._pricePredictionService        = pricePredictionService;
     this._pricePredictionHistoryService = pricePredictionHistoryService;
     this._quartzSchedulerService        = quartzSchedulerService;
     this._btcPriceService               = btcPriceService;
     this._progressHubContext            = progressHubContext;
 }
 public PricePredictionViewComponent(ISysUserService sysUserService,
                                     IBTCPriceService btcPriceService,
                                     IPricePredictionService pricePredictionService,
                                     IPricePredictionHistoryService pricePredictionHistoryService)
 {
     this._sysUserService  = sysUserService;
     this._btcPriceService = btcPriceService;
     this._pricePredictionHistoryService = pricePredictionHistoryService;
     this._pricePredictionService        = pricePredictionService;
 }