示例#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);
        }
示例#2
0
 public VolunteerPageController(
     IDistributedCache cache,
     IVolunteerAppService volunteerPageAppService,
     IUrlHelper urlHelper)
 {
     _cache = cache;
     _volunteerPageAppService = volunteerPageAppService;
     _volunteerPageEnricher   = new VolunteerPageEnricher(urlHelper);
 }