示例#1
0
 public EditorController(ICustomerBlogFactory customerBlogFactory, IBlogService blogService, INewsCounterService newsCounterService, UserManager <ApplicationUser> userManager, ICustomerService customerService)
 {
     _customerBlogFactory = customerBlogFactory;
     _blogService         = blogService;
     _newsCounterService  = newsCounterService;
     _userManager         = userManager;
     _customerService     = customerService;
 }
示例#2
0
 public NewsController(INewsModelFactory newsModelFactory, INewsService newsService, IUrlRecordService urlRecordService, INewsCounterService newsCounterService, ICustomerService customerService, UserManager <ApplicationUser> userManager, IPictureService pictureService)
 {
     _newsModelFactory   = newsModelFactory;
     _newsService        = newsService;
     _urlRecordService   = urlRecordService;
     _newsCounterService = newsCounterService;
     _customerService    = customerService;
     _userManager        = userManager;
     _pictureService     = pictureService;
 }
示例#3
0
 public CustomerBlogFactory(IBlogService blogService, ICustomerService customerService, UserManager <ApplicationUser> userManager, IUrlRecordService urlRecordService, BlogSettings blogSettings, IStoreContext storeContext, IPictureService pictureService, INewsCounterService newsCounterService)
 {
     _blogservice        = blogService;
     _customerService    = customerService;
     _userManager        = userManager;
     _urlRecordService   = urlRecordService;
     this._blogSettings  = blogSettings;
     _storeContext       = storeContext;
     _pictureService     = pictureService;
     _newsCounterService = newsCounterService;
 }
示例#4
0
 public CommonModelFactory(
     IActionContextAccessor actionContextAccessor,
     IHttpContextAccessor httpContextAccessor,
     IUrlHelperFactory urlHelperFactory, IUrlRecordService urlRecordService, ISearchTermService searchTermService, INewsCounterService newsCounterService, IVisitorCounterService visitorCounterService, ICustomerService customerService, INewsService newsService, IBlogService blogService)
 {
     this._actionContextAccessor = actionContextAccessor;
     this._httpContextAccessor   = httpContextAccessor;
     this._urlHelperFactory      = urlHelperFactory;
     _urlRecordService           = urlRecordService;
     _searchTermService          = searchTermService;
     _newsCounterService         = newsCounterService;
     _visitorCounterService      = visitorCounterService;
     _customerService            = customerService;
     _newsService = newsService;
     _blogService = blogService;
 }
示例#5
0
        public NewsModelFactory(

            ICustomerService customerService,
            INewsService newsService,
            IPictureService pictureService,
            IStoreContext storeContext,
            IUrlRecordService urlRecordService,
            NewsSettings newsSettings, IVideoFactory videoFactory, ICategoryService categoryService,
            INewsCounterService newsCounterService)
        {
            this._customerService    = customerService;
            this._newsService        = newsService;
            this._pictureService     = pictureService;
            this._storeContext       = storeContext;
            this._urlRecordService   = urlRecordService;
            this._newsSettings       = newsSettings;
            this._videoFactory       = videoFactory;
            this._categoryService    = categoryService;
            this._newsCounterService = newsCounterService;
        }