Ejemplo n.º 1
0
 public NewsController(INewService newService, IHomeService homeService, IWorkContext workContext, IOperateLogServices operateLogServices)
 {
     _newService         = newService;
     _homeService        = homeService;
     _workContext        = workContext;
     _operateLogServices = operateLogServices;
 }
Ejemplo n.º 2
0
 public AdminController(IEventService ies, INewService ins, IAlbumService ias, IUserProfileService iups)
 {
     _ies  = ies;
     _ins  = ins;
     _ias  = ias;
     _iups = iups;
 }
Ejemplo n.º 3
0
 public WebsiteController(IHomeService homeService, INewService newService, IOperateLogServices operateLogServices, IWorkContext workContext)
 {
     _homeService        = homeService;
     _newService         = newService;
     _operateLogServices = operateLogServices;
     _workContext        = workContext;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 5
0
 public UserService(IGuidKeyedRepository<User> userRepository,
     ICurrentUserNameProvider currentUserIdProvider,
     INewService newService)
 {
     this.userRepository = userRepository;
     this.currentUserNameProvider = currentUserIdProvider;
     this.newService = newService;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 10
0
 public NewController(DataBaseContext db, IDatabaseWorker databaseWorker, INewService newService)
 {
     _db             = db;
     _databaseWorker = databaseWorker;
     _newService     = newService;
 }
Ejemplo n.º 11
0
 public NewsCommentsController(INewCommentService newCommentService, INewService newService)
 {
     this.newCommentService = newCommentService;
     this.newService        = newService;
 }
Ejemplo n.º 12
0
 public NewsJob(INewService newService)
 {
     this._newService = newService;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 15
0
 public NewsController(INewService newService, IMapper mapper)
 {
     _mapper     = mapper;
     _newService = newService;
 }
Ejemplo n.º 16
0
 public HomeController(IAlbumService ias, INewService ns, IEventService es)
 {
     _ias = ias;
     _ns  = ns;
     _es  = es;
 }
Ejemplo n.º 17
0
 public ContentsController(INewService newService)
 {
     _newService = newService;
 }
Ejemplo n.º 18
0
 public MostPopularNews(INewService service)
 {
     _service = service;
 }
Ejemplo n.º 19
0
 public TestService(INewService newService)
 {
     _newService = newService;
 }
Ejemplo n.º 20
0
 public NewController()
 {
     _newService = new NewService(context);
 }
Ejemplo n.º 21
0
 public HomeController(INewService newService)
 {
     this.NewService = newService;
 }
Ejemplo n.º 22
0
 public NewController(INewService newService)
 {
     _newService = newService;
 }
Ejemplo n.º 23
0
 public NewsController(INewService newService)
 {
     this.newService = newService;
 }
 public NotificationController(IErrorService errorService, INewService newService) : base(errorService)
 {
     this._newService = newService;
 }
Ejemplo n.º 25
0
 public NewController(INewService newService, 
     ICurrentUserProvider currentUserProvider)
 {
     this.newService = newService;
     this.currentUserProvider = currentUserProvider;
 }
Ejemplo n.º 26
0
 public UserController(ICustomerService customerService,
                       INewService newService)
 {
     _customerService = customerService;
     _newService      = newService;
 }