Ejemplo n.º 1
0
        public OpenAreaController(
            ICollaboratorAppService collaboratorPageAppService,
            IContactAppService contactAppService,
            IHomeAppService homeAppService,
            IHowToHelpAppService howToHelpAppService,
            ILanguageAppService languageAppService,
            ILogoAppService logoAppService,
            IMenuAppService menuAppService,
            IVolunteerAppService volunteerAppService,
            IWhoAreWeAppService whoAreWeAppService,
            IUrlHelper urlHelper)
        {
            _collaboratorPageAppService = collaboratorPageAppService;
            _contactAppService          = contactAppService;
            _homeAppService             = homeAppService;
            _howToHelpAppService        = howToHelpAppService;
            _languageAppService         = languageAppService;
            _logoAppService             = logoAppService;
            _menuAppService             = menuAppService;
            _volunteerAppService        = volunteerAppService;
            _whoAreWeAppService         = whoAreWeAppService;

            _languageEnricher = new LanguageEnricher(urlHelper);
            _logoEnricher     = new LogoEnricher(urlHelper);
            _menuEnricher     = new MenuEnricher(urlHelper);

            _collaboratorEnricher = new CollaboratorPageEnricher(urlHelper);
            _contactEnricher      = new ContactEnricher(urlHelper);
            _homeEnricher         = new HomeEnricher(urlHelper);
            _howToHelpEnricher    = new HowToHelpEnricher(urlHelper);
            _volunteerEnricher    = new VolunteerPageEnricher(urlHelper);
            _whoAreWeEnricher     = new WhoAreWeEnricher(urlHelper);
        }
Ejemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger, IHomeAppService homeAppService) : base(logger)
 {
     _homeAppService = homeAppService;
     _templateCode   = ConfigSettingEnum.TemplateDefault.GetConfig();
 }
Ejemplo n.º 3
0
 public HomeController(IDistributedCache cache, IHomeAppService homeAppService, IUrlHelper urlHelper)
 {
     _cache          = cache;
     _homeAppService = homeAppService;
     _homeEnricher   = new HomeEnricher(urlHelper);
 }