/// <summary> /// Constructor /// </summary> /// <param name="empRepository"></param> /// <param name="empStatusRepository"></param> /// <param name="companyRepository"></param> /// <param name="jobTypeRepository"></param> /// <param name="designationRepository"></param> /// <param name="desigGradeRepository"></param> /// <param name="departmentRepository"></param> /// <param name="workplaceRepository"></param> /// <param name="countryRepository"></param> /// <param name="regionRepository"></param> /// <param name="subRegionRepository"></param> /// <param name="cityRepository"></param> /// <param name="areaRepository"></param> /// <param name="phoneTypeRepository"></param> /// <param name="licenseTypeRepository"></param> /// <param name="operationRepository"></param> /// <param name="operationsWorkPlaceRepository"></param> public EmployeeService(IEmployeeRepository empRepository, IEmpStatusRepository empStatusRepository, ICompanyRepository companyRepository, IJobTypeRepository jobTypeRepository, IDesignationRepository designationRepository, IDesignGradeRepository desigGradeRepository, IDepartmentRepository departmentRepository, IWorkplaceRepository workplaceRepository, ICountryRepository countryRepository, IRegionRepository regionRepository, ISubRegionRepository subRegionRepository, ICityRepository cityRepository, IAreaRepository areaRepository, IPhoneTypeRepository phoneTypeRepository, ILicenseTypeRepository licenseTypeRepository, IOperationRepository operationRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository, IAddressTypeRepository addressTypeRepository, IAddressRepository addressRepository, IPhoneRepository phoneRepository, IEmpJobProgRepository empJobProgRepository, IEmpAuthOperationsWorkplaceRepository empAuthOperationsWorkplaceRepository) { employeeRepository = empRepository; this.empStatusRepository = empStatusRepository; this.addressRepository = addressRepository; this.phoneRepository = phoneRepository; this.empJobProgRepository = empJobProgRepository; this.empAuthOperationsWorkplaceRepository = empAuthOperationsWorkplaceRepository; this.companyRepository = companyRepository; this.jobTypeRepository = jobTypeRepository; this.designationRepository = designationRepository; this.desigGradeRepository = desigGradeRepository; this.departmentRepository = departmentRepository; this.workplaceRepository = workplaceRepository; this.regionRepository = regionRepository; this.countryRepository = countryRepository; this.subRegionRepository = subRegionRepository; this.cityRepository = cityRepository; this.areaRepository = areaRepository; this.phoneTypeRepository = phoneTypeRepository; this.licenseTypeRepository = licenseTypeRepository; this.operationRepository = operationRepository; this.operationsWorkPlaceRepository = operationsWorkPlaceRepository; this.addressTypeRepository = addressTypeRepository; }
public ContactManager(IAddressRepository addressRepository, IAddressTypeRepository addressTypeRepository, IPhoneRepository phoneRepository, IPhoneTypeRepository phoneTypeRepository,IProfileAddressRepository profileAddressRepository, IProfilePhoneRepository profilePhoneRepository, IProfileRepository profileRepository) { if (addressRepository == null) throw new ArgumentNullException("addressRepository"); if (addressTypeRepository == null) throw new ArgumentNullException("addressTypeRepository"); if (phoneRepository == null) throw new ArgumentNullException("phoneRepository"); if (phoneTypeRepository == null) throw new ArgumentNullException("phoneTypeRepository"); if (profileAddressRepository == null) throw new ArgumentNullException("profileAddressRepository"); if (profilePhoneRepository == null) throw new ArgumentNullException("profilePhoneRepository"); if (profileRepository == null) throw new ArgumentNullException("profileRepository"); _addressRepository = addressRepository; _addressTypeRepository = addressTypeRepository; _phoneRepository = phoneRepository; _phoneTypeRepository = phoneTypeRepository; _profileAddressRepository = profileAddressRepository; _profilePhoneRepository = profilePhoneRepository; _profileRepository = profileRepository; }
public void MyTestInitialize() { this.scope = new TransactionScope(TransactionScopeOption.RequiresNew); var context = new FactWebContext(); this.repository = new AddressTypeRepository(context); }
public TestingBase() { this.context = new RegistrationContext(); this.countryRepo = new CountryRepository(context); this.stateRepo = new StateRepository(context); this.registrantRepo = new RegistrantRepository(context); this.addressTypeRepo = new AddressTypeRepository(context); }
public AddressTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache cache, IEntityServiceFactory ent_serv_fact) : base(data_repo_fact, null, ent_serv_fact) { _cache = cache; _repo_addr_type = _data_repository_factory.GetDataRepository <IAddressTypeRepository>(); _addr_es = _entity_service_factory.GetEntityService <IAddressTypeEntityService>(); GetTypes(); }
public TestingBase() { this.registrationContext = new RegistrationContext(); this.registrantRepo = new RegistrantRepository(registrationContext); this.addressRepo = new AddressTypeRepository(registrationContext); this.countryRepo = new CountryRepository(registrationContext); this.stateRepo = new StateRepository(registrationContext); this.registrationService = new RegistrationService(registrantRepo); this.addressOptionService = new AddressOptionService(addressRepo, countryRepo, stateRepo); }
public AddressTypeService( ILogger <IAddressTypeRepository> logger, IAddressTypeRepository addressTypeRepository, IApiAddressTypeRequestModelValidator addressTypeModelValidator, IBOLAddressTypeMapper boladdressTypeMapper, IDALAddressTypeMapper daladdressTypeMapper, IBOLBusinessEntityAddressMapper bolBusinessEntityAddressMapper, IDALBusinessEntityAddressMapper dalBusinessEntityAddressMapper) : base(logger, addressTypeRepository, addressTypeModelValidator, boladdressTypeMapper, daladdressTypeMapper, bolBusinessEntityAddressMapper, dalBusinessEntityAddressMapper) { }
public LookupService( IAddressRepository addressRepository, IAddressTypeRepository addressTypeRepository, ICustomerRepository customerRepository, IFileStoreRepository fileStoreRepository, IFilmContributorRepository filmContributorRepository, IFilmContributorTypeRepository filmContributorTypeRepository, IFormatTypeRepository formatTypeRepository, IInventoryItemFileStoreRepository inventoryItemFileStoreRepository, IInventoryItemFilmContributorRepository inventoryItemFilmContributorRepository, IInventoryItemFormatTypeRepository inventoryItemFormatTypeRepository, IInventoryItemItemTypeRepository inventoryItemItemTypeRepository, IInventoryItemPurchaseTypeRepository inventoryItemPurchaseTypeRepository, IInventoryItemRatingRepository inventoryItemRatingRepository, IInventoryItemRepository inventoryItemRepository, IInventoryItemReviewRepository inventoryItemReviewRepository, IInventoryItemTagRepository inventoryItemTagRepository, IItemTypeRepository itemTypeRepository, IPaymentInformationRepository paymentInformationRepository, IPurchaseTypeRepository purchaseTypeRepository, IRelatedItemRepository relatedItemRepository, IRentalHistoryRepository rentalHistoryRepository) { _addressRepository = addressRepository; _addressTypeRepository = addressTypeRepository; _customerRepository = customerRepository; _fileStoreRepository = fileStoreRepository; _filmContributorRepository = filmContributorRepository; _filmContributorTypeRepository = filmContributorTypeRepository; _formatTypeRepository = formatTypeRepository; _inventoryItemFileStoreRepository = inventoryItemFileStoreRepository; _inventoryItemFilmContributorRepository = inventoryItemFilmContributorRepository; _inventoryItemFormatTypeRepository = inventoryItemFormatTypeRepository; _inventoryItemItemTypeRepository = inventoryItemItemTypeRepository; _inventoryItemPurchaseTypeRepository = inventoryItemPurchaseTypeRepository; _inventoryItemRatingRepository = inventoryItemRatingRepository; _inventoryItemRepository = inventoryItemRepository; _inventoryItemReviewRepository = inventoryItemReviewRepository; _inventoryItemTagRepository = inventoryItemTagRepository; _itemTypeRepository = itemTypeRepository; _paymentInformationRepository = paymentInformationRepository; _purchaseTypeRepository = purchaseTypeRepository; _relatedItemRepository = relatedItemRepository; _rentalHistoryRepository = rentalHistoryRepository; }
public AbstractAddressTypeService( ILogger logger, IAddressTypeRepository addressTypeRepository, IApiAddressTypeRequestModelValidator addressTypeModelValidator, IBOLAddressTypeMapper bolAddressTypeMapper, IDALAddressTypeMapper dalAddressTypeMapper, IBOLBusinessEntityAddressMapper bolBusinessEntityAddressMapper, IDALBusinessEntityAddressMapper dalBusinessEntityAddressMapper) : base() { this.addressTypeRepository = addressTypeRepository; this.addressTypeModelValidator = addressTypeModelValidator; this.bolAddressTypeMapper = bolAddressTypeMapper; this.dalAddressTypeMapper = dalAddressTypeMapper; this.bolBusinessEntityAddressMapper = bolBusinessEntityAddressMapper; this.dalBusinessEntityAddressMapper = dalBusinessEntityAddressMapper; this.logger = logger; }
/// <summary> /// Constructor /// </summary> public WorkLocationService(IWorkLocationRepository workLocationRepository, ICompanyRepository companyRepository, ICountryRepository countryRepository, IRegionRepository regionRepository, ISubRegionRepository subRegionRepository, ICityRepository cityRepository, IAreaRepository areaRepository, IPhoneTypeRepository phoneTypeRepository, IPhoneRepository phoneRepository, IAddressRepository addressRepository, IAddressTypeRepository addressTypeRepository) { this.workLocationRepository = workLocationRepository; this.addressTypeRepository = addressTypeRepository; this.companyRepository = companyRepository; this.countryRepository = countryRepository; this.regionRepository = regionRepository; this.subRegionRepository = subRegionRepository; this.cityRepository = cityRepository; this.areaRepository = areaRepository; this.phoneTypeRepository = phoneTypeRepository; this.phoneRepository = phoneRepository; this.addressRepository = addressRepository; }
public BusinessPartnerBaseDataService(ICompanyRepository companyRepository , IPaymentTermRepository paymentTermRepository , IBusinessLegalStatusRepository businessLegalStatusRepository , IBpRatingTypeRepository bpRatingTypeRepository , IBusinessPartnerRepository businessPartnerRepository , IEmployeeRepository employeeRepository , IOccupationTypeRepository occupationTypeRepository , IBusinessPartnerCompanyRepository businessPartnerCompanyRepository , ICountryRepository passportCountryRepository , IBusinessSegmentRepository businessSegmentRepository , IBusinessPartnerSubTypeRepository businessPartnerSubTypeRepository , IPhoneTypeRepository phoneTypeRepository , IAddressTypeRepository addressTypeRepository , IMarketingChannelRepository marketingChannelRepository , IBusinessPartnerRelationshipTypeRepository businessPartnerRelationshipTypeRepository , IRegionRepository regionRepository , ISubRegionRepository subRegionRepository , ICityRepository cityRepository , IAreaRepository areaRepository) { this.companyRepository = companyRepository; this.paymentTermRepository = paymentTermRepository; this.businessLegalStatusRepository = businessLegalStatusRepository; this.bpRatingTypeRepository = bpRatingTypeRepository; this.businessPartnerRepository = businessPartnerRepository; this.employeeRepository = employeeRepository; this.occupationTypeRepository = occupationTypeRepository; this.businessPartnerCompanyRepository = businessPartnerCompanyRepository; this.countryRepository = passportCountryRepository; this.businessSegmentRepository = businessSegmentRepository; this.businessPartnerSubTypeRepository = businessPartnerSubTypeRepository; this.phoneTypeRepository = phoneTypeRepository; this.addressTypeRepository = addressTypeRepository; this.marketingChannelRepository = marketingChannelRepository; this.businessPartnerRelationshipTypeRepository = businessPartnerRelationshipTypeRepository; this.regionRepository = regionRepository; this.subRegionRepository = subRegionRepository; this.cityRepository = cityRepository; this.areaRepository = areaRepository; }
public AbstractApiAddressTypeRequestModelValidator(IAddressTypeRepository addressTypeRepository) { this.addressTypeRepository = addressTypeRepository; }
internal AddressTypeService(ICacheManager gestorCache, IAddressTypeRepository addressTypeRepository) { this.cacheManager = gestorCache; this.addressTypeRepository = addressTypeRepository; }
public AddressTypeManager(IAddressTypeRepository iAddressTypeRepository, IMapper iMapper) { _iAddressTypeRepository = iAddressTypeRepository; _iMapper = iMapper; }
public AddressTypeController(IAccountRepository accountRepository, IAddressTypeRepository addressTypeRepository, ILogger <AddressTypeRepository> logger) { _accountRepository = accountRepository; _addressTypeRepository = addressTypeRepository; _logger = logger; }
public AdminController(IAddressTypeRepository addressTypeRepository, IDepartmentRepository departmentRepository) { _addTypeRepo = addressTypeRepository; _depRepo = departmentRepository; }
public ApiAddressTypeRequestModelValidator(IAddressTypeRepository addressTypeRepository) : base(addressTypeRepository) { }
public AddressTypeManipulation(IAddressTypeRepository addressTypeRepository) { _addressTypeRepository = addressTypeRepository; }
public AddressTypesController(IUnitOfWork unitOfWork, IAddressTypeRepository addressTypeRepository, IRedisConnectionFactory cache) { _unitOfWork = unitOfWork; _addressTypeRepository = addressTypeRepository; _cache = cache; }
public AddressOptionService(IAddressTypeRepository addressTypeRepo, ICountryRepository countryRepo, IStateRepository stateRepo) { this.addressTypeRepo = addressTypeRepo; this.stateRepo = stateRepo; this.countryRepo = countryRepo; }
public AddressTypeController(IAddressTypeRepository repository) { _repository = repository; }