Ejemplo n.º 1
0
 public ContactController(IContactAppService contactApp, IClassificationAppService classificationApp, IAddressAppService addressApp, IPhoneAppService phoneApp)
 {
     _contactApp        = contactApp;
     _classificationApp = classificationApp;
     _addressApp        = addressApp;
     _phoneApp          = phoneApp;
 }
Ejemplo n.º 2
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.º 3
0
 public CreateCampaignModel(ICampaignAppService campaignAppService, IContactAppService contactAppService,
                            EmailService emailService)
 {
     _campaignAppService = campaignAppService;
     _contactAppService  = contactAppService;
     _emailService       = emailService;
 }
 public CompanyController(ICompanyAppService companyAppService, ICompanyAuthAppService companyAuthAppService, IContactAppService contactAppService, ICompanyIndustryAppService companyIndustryAppService, IUserAppService userAppService)
 {
     _companyService            = companyAppService;
     _companyAuthAppService     = companyAuthAppService;
     _contactAppService         = contactAppService;
     _companyIndustryAppService = companyIndustryAppService;
     _userAppService            = userAppService;
 }
Ejemplo n.º 5
0
 public ContactController(
     IUserProvider userProvider,
     IContactAppService contactAppService,
     INotificationHandler <DomainNotification> notificationHandler,
     IEventHandler eventHandler) : base(notificationHandler, eventHandler, userProvider)
 {
     _userProvider      = userProvider ?? throw new ArgumentNullException(nameof(userProvider));
     _contactAppService = contactAppService;
 }
Ejemplo n.º 6
0
 public MockController(ILoadAppService loadAppService,
                       IContactAppService contactAppService,
                       ITransferAppService transferAppService,
                       IChargeAppService chargeAppService)
 {
     _loadAppService     = loadAppService;
     _contactAppService  = contactAppService;
     _transferAppService = transferAppService;
     _chargeAppService   = chargeAppService;
 }
Ejemplo n.º 7
0
        public async Task <PartialViewResult> CreateOrUpdateModal(long?id = null)
        {
            IContactAppService     contactAppService = this._contactAppService;
            NullableIdInput <long> nullableIdInput   = new NullableIdInput <long>()
            {
                Id = id
            };
            GetContactForEditOutput contactForEdit = await contactAppService.GetContactForEdit(nullableIdInput);

            return(this.PartialView("_CreateOrUpdateModal", new CreateOrUpdateContactModalViewModel(contactForEdit)));
        }
 public ContactController(IContactAppService contactappservice)
 {
     _svcContact = contactappservice;
 }
Ejemplo n.º 9
0
 public PhoneController(IContactAppService contactAppService)
     : base(new IDisposable[] { contactAppService })
 {
     _contactAppService = contactAppService ?? throw new ArgumentNullException(nameof(contactAppService));
 }
Ejemplo n.º 10
0
 public ContactViewModel(IGroupAppService groupAppService, IContactAppService contactAppService)
 {
     _groupAppService   = groupAppService;
     _contactAppService = contactAppService;
 }
 public EditModalModel(IContactAppService contactAppService)
 {
     _contactAppService = contactAppService;
 }
Ejemplo n.º 12
0
 public ContactController(UnitOfWork uow
                          , IContactAppService contactAppService)
     : base(uow)
 {
     _contactAppService = contactAppService;
 }
Ejemplo n.º 13
0
 public async Task<IMessageAppService> Say(IContactAppService contact)
 {
     var msgId = await _puppetService.MessageSendContact(RoomId, contact.Id);
     return await TryLoad(msgId);
 }
Ejemplo n.º 14
0
 public AdminContactController(IContactAppService contactAppService)
 {
     _contactAppService = contactAppService;
 }
Ejemplo n.º 15
0
 public ContactGroupController(IContactAppService contactAppSrv)
 {
     _contactAppSrv = contactAppSrv;
 }
Ejemplo n.º 16
0
 public ContactController(IContactAppService contactAppService)
 {
     this.contactAppService = contactAppService;
 }
Ejemplo n.º 17
0
 public ContactsController(IContactAppService contactAppService, IBinaryObjectManager binaryObjectManager)
 {
     this._contactAppService   = contactAppService;
     this._binaryObjectManager = binaryObjectManager;
 }
 public CreateModalModel(IContactAppService contactAppService, IContactRepository contactRepository)
 {
     _contactAppService = contactAppService;
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="contactAppService"></param>
 public ContactsController(IContactAppService contactAppService)
 {
     _contactAppService = contactAppService;
 }
 public ImportContactModel(IContactAppService contactAppService, IGroupRepository groupRepository)
 {
     _contactAppService = contactAppService;
     _groupRepository   = groupRepository;
 }
Ejemplo n.º 21
0
 public ContactController(IDistributedCache cache, IContactAppService contactAppService, IUrlHelper urlHelper)
 {
     _cache             = cache;
     _contactAppService = contactAppService;
     _contactEnricher   = new ContactEnricher(urlHelper);
 }
 public ContactController(IContactAppService service, IHostingEnvironment hostingEnvironment, IOptions <AppSettings> settings)
     : base(hostingEnvironment, settings)
 {
     _service = service;
 }