Пример #1
0
 public NewsController(INewService newService, IHomeService homeService, IWorkContext workContext, IOperateLogServices operateLogServices)
 {
     _newService         = newService;
     _homeService        = homeService;
     _workContext        = workContext;
     _operateLogServices = operateLogServices;
 }
Пример #2
0
 public AdminController(IEventService ies, INewService ins, IAlbumService ias, IUserProfileService iups)
 {
     _ies  = ies;
     _ins  = ins;
     _ias  = ias;
     _iups = iups;
 }
Пример #3
0
 public WebsiteController(IHomeService homeService, INewService newService, IOperateLogServices operateLogServices, IWorkContext workContext)
 {
     _homeService        = homeService;
     _newService         = newService;
     _operateLogServices = operateLogServices;
     _workContext        = workContext;
 }
Пример #4
0
 public NewController(IMapper mapper, INewService newService, IPhotoService photoService, IWebHostEnvironment webHostEnvironment, IOptions <GoogleTranslateConfig> googleTranslateConfig) : base(mapper)
 {
     _newService            = newService;
     _photoService          = photoService;
     _webHostEnvironment    = webHostEnvironment;
     _googleTranslateConfig = googleTranslateConfig;
 }
Пример #5
0
 public UserService(IGuidKeyedRepository<User> userRepository,
     ICurrentUserNameProvider currentUserIdProvider,
     INewService newService)
 {
     this.userRepository = userRepository;
     this.currentUserNameProvider = currentUserIdProvider;
     this.newService = newService;
 }
Пример #6
0
 public HomeController(INewService newService, IWorkContext workContext, ICountryService countryService, IGoodsTypeService goodsTypeService, ICustomerService customerService, IAuthenticationService authenticationService)
 {
     _newService            = newService;
     _workContext           = workContext;
     _countryService        = countryService;
     _goodsTypeService      = goodsTypeService;
     _customerService       = customerService;
     _authenticationService = authenticationService;
 }
Пример #7
0
 public BillingController(IWorkContext workContext, ICountryService countryService, INewService newService,
                          IGoodsTypeService goodsTypeService, IFreightService freightService, ICustomerService customerService)
 {
     _workContext      = workContext;
     _countryService   = countryService;
     _goodsTypeService = goodsTypeService;
     _freightService   = freightService;
     _customerService  = customerService;
     _newService       = newService;
 }
Пример #8
0
 public HomeController(IMapper mapper, ILogger <HomeController> logger, ApplicationDbContext context, IStringLocalizer <HomeController> localizer, INewService newService, ILocalizedPageService localizedPageRepository, IProductService productService, IProductCategoryService productCategoryService) : base(mapper)
 {
     _logger    = logger;
     _localizer = localizer;
     _localizedPageRepository = localizedPageRepository;
     _productService          = productService;
     _productCategoryService  = productCategoryService;
     _newService = newService;
     _context    = context;
 }
Пример #9
0
 public IndexModel(Service2 service2, Service3 service3,
                   IService service, IFoo foo, IBar bar,
                   INewService newService, IOtherService otherService, IOtherService2 otherService2)
 {
     Service2      = service2 ?? throw new System.ArgumentNullException(nameof(service2));
     Service3      = service3 ?? throw new System.ArgumentNullException(nameof(service3));
     Service       = service ?? throw new System.ArgumentNullException(nameof(service));
     Foo           = foo ?? throw new System.ArgumentNullException(nameof(foo));
     Bar           = bar ?? throw new System.ArgumentNullException(nameof(bar));
     NewService    = newService ?? throw new System.ArgumentNullException(nameof(newService));
     OtherService  = otherService ?? throw new System.ArgumentNullException(nameof(otherService));
     OtherService2 = otherService2 ?? throw new System.ArgumentNullException(nameof(otherService2));
 }
Пример #10
0
 public NewController(DataBaseContext db, IDatabaseWorker databaseWorker, INewService newService)
 {
     _db             = db;
     _databaseWorker = databaseWorker;
     _newService     = newService;
 }
Пример #11
0
 public NewsCommentsController(INewCommentService newCommentService, INewService newService)
 {
     this.newCommentService = newCommentService;
     this.newService        = newService;
 }
Пример #12
0
 public NewsJob(INewService newService)
 {
     this._newService = newService;
 }
Пример #13
0
 public NewController(IErrorService errorService, INewService newService) : base(errorService)
 {
     this._newService = newService;
 }
 public RemoteAddressController(IFreightService freightService, INewService newService, ICountryService countryService)
 {
     _freightService = freightService;
     _newService     = newService;
     _countryService = countryService;
 }
Пример #15
0
 public NewsController(INewService newService, IMapper mapper)
 {
     _mapper     = mapper;
     _newService = newService;
 }
Пример #16
0
 public HomeController(IAlbumService ias, INewService ns, IEventService es)
 {
     _ias = ias;
     _ns  = ns;
     _es  = es;
 }
Пример #17
0
 public ContentsController(INewService newService)
 {
     _newService = newService;
 }
Пример #18
0
 public MostPopularNews(INewService service)
 {
     _service = service;
 }
Пример #19
0
 public TestService(INewService newService)
 {
     _newService = newService;
 }
Пример #20
0
 public NewController()
 {
     _newService = new NewService(context);
 }
Пример #21
0
 public HomeController(INewService newService)
 {
     this.NewService = newService;
 }
Пример #22
0
 public NewController(INewService newService)
 {
     _newService = newService;
 }
Пример #23
0
 public NewsController(INewService newService)
 {
     this.newService = newService;
 }
 public NotificationController(IErrorService errorService, INewService newService) : base(errorService)
 {
     this._newService = newService;
 }
Пример #25
0
 public NewController(INewService newService, 
     ICurrentUserProvider currentUserProvider)
 {
     this.newService = newService;
     this.currentUserProvider = currentUserProvider;
 }
Пример #26
0
 public UserController(ICustomerService customerService,
                       INewService newService)
 {
     _customerService = customerService;
     _newService      = newService;
 }