コード例 #1
0
ファイル: HomeController.cs プロジェクト: weedkiller/cpl
 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;
 }
コード例 #2
0
 public ContentController(IMasterContentService masterContentService, ICategoryService categoryService,
                          IRecipeService recipeService, IFAQService faqService, IArticleService articleService, IContentPageService contentPageService,
                          IEmailTemplateService emailTemplateService, ILoggerFactory loggerProvider,
                          IContentCrossSellService contentCrossSellService, IProductService productService, ExtendedUserManager userManager)
 {
     this.masterContentService    = masterContentService;
     this.categoryService         = categoryService;
     this.recipeService           = recipeService;
     this.faqService              = faqService;
     this.articleService          = articleService;
     this.contentPageService      = contentPageService;
     this.emailTemplateService    = emailTemplateService;
     this.contentCrossSellService = contentCrossSellService;
     this.productService          = productService;
     _userManager = userManager;
     this.logger  = loggerProvider.CreateLogger <ContentController>();
 }
コード例 #3
0
 public AdminController(IAccountService _accountService, IProductService _productService, IImageService _imageService,
                        IManufactorService _manufactorService, ICategoryService _categoryService, IAnimeService _animeService, IStatusService _statusService
                        , IBlogService _blogService, IProductTagService _productTagService, ITagService _tagService, IWebsiteAttributeService _websiteAttributeService
                        , IMessageSendingService _messageSendingService, IFAQService _faqService)
 {
     this._accountService          = _accountService;
     this._productService          = _productService;
     this._imageService            = _imageService;
     this._manufactorService       = _manufactorService;
     this._categoryService         = _categoryService;
     this._animeService            = _animeService;
     this._statusService           = _statusService;
     this._blogService             = _blogService;
     this._productTagService       = _productTagService;
     this._tagService              = _tagService;
     this._websiteAttributeService = _websiteAttributeService;
     this._messageSendingService   = _messageSendingService;
     this._faqService              = _faqService;
 }
コード例 #4
0
 public FAQController(IFAQService faqContext, IFAQTranslateService faqTranslateContext)
 {
     _faqContext          = faqContext;
     _faqTranslateContext = faqTranslateContext;
 }
コード例 #5
0
ファイル: FAQController.cs プロジェクト: noname9xndz/fund21
 public FAQController(IFAQService faqService, IConfiguration configuration)
 {
     _faqService    = faqService;
     _configuration = configuration;
 }
コード例 #6
0
ファイル: FAQController.cs プロジェクト: elewaa7med/baitkmApi
 public FAQController(IFAQService service)
 {
     _service = service;
 }
コード例 #7
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="faqService"></param>
 public FAQController(IFAQService faqService)
 {
     _faqService = faqService;
 }
コード例 #8
0
 public FAQApiController(IFAQService service, ILogger <FAQApiController> logger, IAuthenticationService <int> authService) : base(logger)
 {
     _service     = service;
     _authService = authService;
 }
コード例 #9
0
 public FAQApiController(IFAQService service, IUserService UserService)
 {
     _service     = service;
     _userService = UserService;
 }
コード例 #10
0
 public FAQController(FAQService faqSrv)
 {
     _faqsrv        = faqSrv;
     _faqsrv.UserVM = UserVM;
 }
コード例 #11
0
 public FAQController(IFAQService service, IMapper mapper)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
     _mapper  = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }