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 CollaboratorController(
     IDistributedCache cache,
     ICollaboratorAppService collaboratorAppService,
     IUrlHelper urlHelper)
 {
     _cache = cache;
     _collaboratorAppService = collaboratorAppService;
     _collaboratorEnricher   = new CollaboratorEnricher(urlHelper);
 }
 public CollaboratorAppServiceTransactionDecorator(ICollaboratorAppService collaboratorAppService,
                                                   IUnityOfWork unityOfWork)
 {
     this.collaboratorAppService = collaboratorAppService;
     this.unityOfWork            = unityOfWork;
 }
Ejemplo n.º 4
0
 public CollaboratorController(ICollaboratorAppService collaboratorAppService, IMapper mapper)
 {
     this.collaboratorAppService = collaboratorAppService;
     this.mapper = mapper;
 }
Ejemplo n.º 5
0
 public void SetUp()
 {
     _collaboratorAppService = Substitute.For <ICollaboratorAppService>();
 }