Ejemplo n.º 1
0
 public LeadJob(
     ILeadAdaptersRepository‏ leadAdaptersRepository‏,
     IAccountRepository accountRepository,
     IServiceProviderRepository serviceProviderRepository,
     IImportDataRepository importDataRepository,
     ISearchService <Contact> searchService,
     ICustomFieldService customFieldService,
     ICachingService cahceService,
     ICommunicationService communicationService,
     IUnitOfWork unitOfWork,
     IMailGunService mailGunService,
     IContactService contactService)
 {
     _leadAdaptersRepository    = leadAdaptersRepository;
     _accountRepository         = accountRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _importDataRepository      = importDataRepository;
     _searchService             = searchService;
     _customFieldService        = customFieldService;
     _cahceService         = cahceService;
     _communicationService = communicationService;
     _unitOfWork           = unitOfWork;
     _mailGunService       = mailGunService;
     _contactService       = contactService;
 }
Ejemplo n.º 2
0
 public ImportLeadJob(
     ILeadAdaptersRepository‏ leadAdaptersRepository,
     IServiceProviderRepository serviceProviderRepository,
     IImportDataRepository importDataRepository,
     ISearchService <Contact> searchService,
     ICustomFieldService customFieldService,
     ISuppressionListService suppressionListService,
     ICommunicationService communicationService,
     IMailGunService mailGunService,
     IContactService contactService,
     IUnitOfWork unitofWork,
     ICachingService cacheService,
     IDropdownValuesService dropdownValuesService)
 {
     _leadAdaptersRepository‏   = leadAdaptersRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _importDataRepository      = importDataRepository;
     _searchService             = searchService;
     _customFieldService        = customFieldService;
     _suppressionListService    = suppressionListService;
     _cacheService          = cacheService;
     _communicationService  = communicationService;
     _mailGunService        = mailGunService;
     _contactService        = contactService;
     _unitofWork            = unitofWork;
     _dropdownValuesService = dropdownValuesService;
 }
Ejemplo n.º 3
0
 public ImportDataController(IImportDataRepository importDataRepository
                             , IGradeRepository gradeRepository
                             , IAcademicYearRepository academicYearRepository)
 {
     _importDataRepository   = importDataRepository;
     _gradeRepository        = gradeRepository;
     _academicYearRepository = academicYearRepository;
     _viewMessageLogic       = new ViewMessageLogic(this);
 }
Ejemplo n.º 4
0
 public ImportDataController(IImportDataRepository importDataRepository
                             ,IGradeRepository gradeRepository
                             ,IAcademicYearRepository academicYearRepository)
 {
     _importDataRepository = importDataRepository;
     _gradeRepository = gradeRepository;
     _academicYearRepository = academicYearRepository;
     _viewMessageLogic = new ViewMessageLogic(this);
 }
Ejemplo n.º 5
0
 public CondoLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, ILeadAdaptersRepository leadAdaptersRepository, IServiceProviderRepository serviceProviderRepository,
                                 IImportDataRepository importDataRepository, ISearchService <Contact> searchService, IUnitOfWork unitOfWork,
                                 ICustomFieldService customFieldService, ICachingService cacheService, ICommunicationService communicationService, IMailGunService mailGunService, IContactService contactService)
     : base(accountId, leadAdapterAndAccountMapID, LeadAdapterTypes.BDX, leadAdaptersRepository, importDataRepository, searchService, unitOfWork,
            customFieldService, cacheService, serviceProviderRepository, mailGunService, contactService)
 {
     this.mailGunService       = mailGunService;
     this.searchService        = searchService;
     this.contactService       = contactService;
     this.importDataRepository = importDataRepository;
 }
 public BuildersUpdateLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, ILeadAdaptersRepository leadAdaptersRepository, IServiceProviderRepository serviceProviderRepository,
                                          IImportDataRepository importDataRepository, ISearchService <Contact> searchService, IUnitOfWork unitOfWork,
                                          ICustomFieldService customFieldService, ICachingService cacheService, ICommunicationService communicationService, IMailGunService mailGunService, IContactService contactService)
     : base(accountId, leadAdapterAndAccountMapID, LeadAdapterTypes.BuildersUpdate, leadAdaptersRepository, importDataRepository, searchService, unitOfWork,
            customFieldService, cacheService, serviceProviderRepository, mailGunService, contactService)
 {
     Logger.Current.Verbose("Enter into BuildersUpdateLeadAdapterProvider");
     this.mailGunService       = mailGunService;
     this.searchService        = searchService;
     this.importDataRepository = importDataRepository;
 }
Ejemplo n.º 7
0
 public LeadProcessor(CronJobDb cronJob, JobService jobService, string leadProcessorCacheName)
     : base(cronJob, jobService, leadProcessorCacheName)
 {
     leadAdaptersRepository‏   = IoC.Container.GetInstance <ILeadAdaptersRepository‏>();
     contactRepository         = IoC.Container.GetInstance <IContactRepository>();
     serviceProviderRepository = IoC.Container.GetInstance <IServiceProviderRepository>();
     importDataRepository      = IoC.Container.GetInstance <IImportDataRepository>();
     searchService             = IoC.Container.GetInstance <ISearchService <Contact> >();
     tagService           = IoC.Container.GetInstance <ITagService>();
     customFieldService   = IoC.Container.GetInstance <ICustomFieldService>();
     cahceService         = IoC.Container.GetInstance <ICachingService>();
     communicationService = IoC.Container.GetInstance <ICommunicationService>();
     unitOfWork           = IoC.Container.GetInstance <IUnitOfWork>();
     mailGunService       = IoC.Container.GetInstance <IMailGunService>();
     contactService       = IoC.Container.GetInstance <IContactService>();
     accountRepository    = IoC.Container.GetInstance <IAccountRepository>();
 }
Ejemplo n.º 8
0
 public ImportLeadProcessor(CronJobDb cronJob, JobService jobService, string importProcessorCacheName)
     : base(cronJob, jobService, importProcessorCacheName)
 {
     leadAdaptersRepository‏   = IoC.Container.GetInstance <ILeadAdaptersRepository‏>();
     serviceProviderRepository = IoC.Container.GetInstance <IServiceProviderRepository>();
     importDataRepository      = IoC.Container.GetInstance <IImportDataRepository>();
     searchService             = IoC.Container.GetInstance <ISearchService <Contact> >();
     customFieldService        = IoC.Container.GetInstance <ICustomFieldService>();
     suppressionListService    = IoC.Container.GetInstance <ISuppressionListService>();
     suppressionListRepository = IoC.Container.GetInstance <ISuppressionListRepository>();
     cahceService          = IoC.Container.GetInstance <ICachingService>();
     communicationService  = IoC.Container.GetInstance <ICommunicationService>();
     mailGunService        = IoC.Container.GetInstance <IMailGunService>();
     contactService        = IoC.Container.GetInstance <IContactService>();
     unitofWork            = IoC.Container.GetInstance <IUnitOfWork>();
     dropdownValuesService = IoC.Container.GetInstance <IDropdownValuesService>();
 }
 public BaseLeadAdapterProvider(int accountId, int leadAdapterAndAccountMapID, LeadAdapterTypes leadAdapterType
                                , ILeadAdaptersRepository leadAdaptersRepository, IImportDataRepository importDataRepository, ISearchService <Contact> searchService,
                                IUnitOfWork unitOfWork, ICustomFieldService customFieldService, ICachingService cacheService, IServiceProviderRepository serviceProviderRepository, IMailGunService mailGunService,
                                IContactService contactService)
 {
     this.AccountID  = accountId;
     this.repository = leadAdaptersRepository;
     this.serviceProviderRepository = serviceProviderRepository;
     this.importDataRepository      = importDataRepository;
     this.customFieldService        = customFieldService;
     this.unitOfWork          = unitOfWork;
     this.mailGunService      = mailGunService;
     this.contactService      = contactService;
     this.leadAdapterType     = leadAdapterType;
     this.cacheService        = cacheService;
     LeadAdapterAccountMapID  = leadAdapterAndAccountMapID;
     leadAdapterAndAccountMap = repository.GetLeadAdapterByID(LeadAdapterAccountMapID);
     _fieldMappings           = GetFieldMappings();
 }
Ejemplo n.º 10
0
 public ImportDataService(IImportDataRepository importDataRepository)
 {
     _importDataRepository = importDataRepository;
 }
Ejemplo n.º 11
0
 public ImportDataService(IAdvancedSearchService advancedSearchService, IImportDataRepository importRepository)
 {
     this.advancedSearchService = advancedSearchService;
     //this.unitOfWork = unitOfWork;
     this.importRepository = importRepository;
 }