Beispiel #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 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>();
 }
Beispiel #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;
 }
 public FAQController(IFAQService faqContext, IFAQTranslateService faqTranslateContext)
 {
     _faqContext          = faqContext;
     _faqTranslateContext = faqTranslateContext;
 }
Beispiel #5
0
 public FAQController(IFAQService faqService, IConfiguration configuration)
 {
     _faqService    = faqService;
     _configuration = configuration;
 }
Beispiel #6
0
 public FAQController(IFAQService service)
 {
     _service = service;
 }
Beispiel #7
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="faqService"></param>
 public FAQController(IFAQService faqService)
 {
     _faqService = faqService;
 }
 public FAQApiController(IFAQService service, ILogger <FAQApiController> logger, IAuthenticationService <int> authService) : base(logger)
 {
     _service     = service;
     _authService = authService;
 }
Beispiel #9
0
 public FAQApiController(IFAQService service, IUserService UserService)
 {
     _service     = service;
     _userService = UserService;
 }
 public FAQController(FAQService faqSrv)
 {
     _faqsrv        = faqSrv;
     _faqsrv.UserVM = UserVM;
 }
 public FAQController(IFAQService service, IMapper mapper)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
     _mapper  = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }