public AdvertisementsController(IAdvertisementService advertisementService,
     IDateTimeHelper dateTimeHelper,
     IWorkContext workContext, 
     IVendorService vendorService,
     IStoreService storeService)
 {
     _advertisementService = advertisementService;
     _dateTimeHelper = dateTimeHelper;
     _workContext = workContext;
     _vendorService = vendorService;
     _storeService = storeService;
 }
 public AdvertisementController(IAdvertisementService service, IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
Exemple #3
0
 /// <summary>
 /// hangfire后台任务
 /// </summary>
 /// <param name="userInfoService"></param>
 /// <param name="postService"></param>
 /// <param name="settingService"></param>
 /// <param name="searchDetailsService"></param>
 /// <param name="linksService"></param>
 /// <param name="httpClientFactory"></param>
 /// <param name="HostEnvironment"></param>
 /// <param name="searchEngine"></param>
 public HangfireBackJob(IUserInfoService userInfoService, IPostService postService, ISystemSettingService settingService, ISearchDetailsService searchDetailsService, ILinksService linksService, IHttpClientFactory httpClientFactory, IWebHostEnvironment HostEnvironment, ISearchEngine <DataContext> searchEngine, IAdvertisementService advertisementService)
 {
     _userInfoService      = userInfoService;
     _postService          = postService;
     _settingService       = settingService;
     _searchDetailsService = searchDetailsService;
     _linksService         = linksService;
     _httpClientFactory    = httpClientFactory;
     _hostEnvironment      = HostEnvironment;
     _searchEngine         = searchEngine;
     _advertisementService = advertisementService;
 }
 public ExtendAdvertisementController(IBaseManager BaseManager, IAdvertisementService AdvertisementService, IAdvertisementDetailsService AdvertisementDetailsService) : base(BaseManager)
 {
     this.BaseManager                 = BaseManager;
     this.AdvertisementService        = AdvertisementService;
     this.AdvertisementDetailsService = AdvertisementDetailsService;
 }
Exemple #5
0
 public AdvertisementViewComponent(IAdvertisementService advertisementService, IMapper mapper)
 {
     _advertisementService = advertisementService;
     _mapper = mapper;
 }
 public AdvertisementController(
     IAdvertisementService advertisementService
     )
 {
     _advertisementService = advertisementService;
 }
 public ReportController(UserManager <User> userManager, IReportService reportService, IAdvertisementService advertisementService, INotificationService notificationService, IUserAdWishlistService userAdWishlistService)
 {
     this.userManager           = userManager;
     this.reportService         = reportService;
     this.advertisementService  = advertisementService;
     this.notificationService   = notificationService;
     this.userAdWishlistService = userAdWishlistService;
 }
 public AdvertisementController(IAdvertisementService advertisementService, UserManager <User> usermanager)
 {
     _advertisementService = advertisementService;
     _UserManager          = usermanager;
 }
Exemple #9
0
 public HomePageBannerViewComponent(IPictureService pictureService, ISectionService sectionService, IAdvertisementService advertisementService)
 {
     this._pictureService  = pictureService;
     _sectionService       = sectionService;
     _advertisementService = advertisementService;
 }
Exemple #10
0
 public PostSectionLeftViewComponent(IPictureService pictureService, ISectionService sectionService, IAdvertisementService advertisementService)
 {
     this._pictureService  = pictureService;
     _sectionService       = sectionService;
     _advertisementService = advertisementService;
 }
Exemple #11
0
 public AdvertisementController(IAdvertisementService _AdvertisementService)
 {
     this._AdvertisementService = _AdvertisementService;
 }
 /// <summary>
 /// 广告控制初始化
 /// </summary>
 /// <param name="advertisementService">advertisementService</param>
 /// <param name="contentService">contentService</param>
 /// <param name="workContent">workContent</param>
 public AdvertisementController(IAdvertisementService advertisementService, IContentService contentService, IWorkContext workContent)
 {
     _advertisementService = advertisementService;
     _contentService       = contentService;
     _workContent          = workContent;
 }
 public HomeController(ICarService carService, IAdvertisementService advertisementService, IMapper mapper)
 {
     this.carService           = carService;
     this.advertisementService = advertisementService;
     this.mapper = mapper;
 }
Exemple #14
0
 public NewImage(IAdvertisementService _advertisementService)
 {
     advertisementService = _advertisementService;
 }
 public AdvertisementController(IAdvertisementService service, IArticleService articleService)
 {
     _service = service;
     _articleService = articleService;
 }
Exemple #16
0
 public EditModel(IAdvertisementService service, IAdvertisementBoardService boardService)
 {
     _service      = service;
     _boardService = boardService;
 }
 public DeleteAdvertisement(IAdvertisementService _advertisementService)
 {
     advertisementService = _advertisementService;
 }
 public AdvertisementController()
 {
     this._uow = new UnitOfWork();
     this._sectionService = new SectionsService(this._uow);
     this._advertisementService = new AdvertisementService(this._uow);
 }
Exemple #19
0
 public ManageController(IMessageService messageService, IUserNotificationService userNotificationService, IUnitOfWorkAsync unitOfWorkAsync, IAddressService addressService, IAdvertisementService advertisementService)
 {
     _messageService          = messageService;
     _userNotificationService = userNotificationService;
     _unitOfWorkAsync         = unitOfWorkAsync;
     _addressService          = addressService;
     _advertisementService    = advertisementService;
 }
Exemple #20
0
 public AddModel(IAdvertisementService service)
 {
     _service = service;
 }
 public HomeController(IAdvertisementService advertisementService, TelemetryClient telemetryClient)
 {
     this.advertisementService = advertisementService;
 }
Exemple #22
0
 public AdvertisementsController(IAdvertisementService advertisementservice)
 {
     this.advertisementservice = advertisementservice;
 }
 public AdvertisementController(IAdvertisementService advertisementService, IUserService userService)
 {
     _advertisementService = advertisementService;
     _userService          = userService;
 }
 public HomeController(IAgentService agentService, IAdvertisementService advertisementService)
 {
     _agentService         = agentService;
     _advertisementService = advertisementService;
 }
Exemple #25
0
 public AdminController(IUserService userService, IMessageService messageService, IAdvertisementService advertisementService)
 {
     _userService          = userService;
     _messageService       = messageService;
     _advertisementService = advertisementService;
 }
Exemple #26
0
 public AdvertisementsController(IAdvertisementService advertisementService, IMapper mapper)
 {
     _advertisementService = advertisementService;
     _mapper = mapper;
 }
 public HomeController(ILogger <HomeController> logger, IAdvertisementService advertisementService)
 {
     _advertisementService = advertisementService;
     _logger = logger;
 }
Exemple #28
0
 public ConversationController(IConversationService conversationService, IAdvertisementService advertisementService, UserManager <User> userManager)
 {
     this.conversationService  = conversationService;
     this.advertisementService = advertisementService;
     this.userManager          = userManager;
 }
 public ValuesController(IAdvertisementService advertisementServices)
 {
     this._advertisementServices = advertisementServices;
 }
Exemple #30
0
 public HomeController(IAdvertisementService advertisement)
 {
     this.advertisement = advertisement;
 }
 public AdvertisementController(IUtilities utilities, IHttpContextAccessor httpContextAccessor, IAdvertisementService advertisementService, IWebHostEnvironment webHostEnvironment)
 {
     _utilities            = utilities;
     _httpContextAccessor  = httpContextAccessor;
     _advertisementService = advertisementService;
     _webHostEnvironment   = webHostEnvironment;
 }
Exemple #32
0
 public EditModel(job4everyone.Data.Job4EveryoneDbContext context)
 {
     _context = context;
     service  = new AdvertisementService(_context);
 }
Exemple #33
0
 public RightSocialMediaViewComponent(IPictureService pictureService, IAdvertisementService advertisementService, ISectionService sectionService)
 {
     this._pictureService  = pictureService;
     _advertisementService = advertisementService;
     _sectionService       = sectionService;
 }