Exemple #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);
        }
Exemple #2
0
 public LogoController(IDistributedCache cache, ILogoAppService logoAppService, IUrlHelper urlHelper)
 {
     _cache          = cache;
     _logoAppService = logoAppService;
     _logoEnricher   = new LogoEnricher(urlHelper);
 }