Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RegionService(IRegionRepository regionRepository, ICountryRepository countryRepository, ICityRepository cityRepository, ISubRegionRepository subRegionRepository)
 {
     this.regionRepository    = regionRepository;
     this.countryRepository   = countryRepository;
     this.cityRepository      = cityRepository;
     this.subRegionRepository = subRegionRepository;
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
 public AddressBaseDataService(ICountryRepository countryRepository
                               , IRegionRepository regionRepository
                               , ISubRegionRepository subRegionRepository
                               , ICityRepository cityRepository
                               , IAreaRepository areaRepository)
 {
     this.countryRepository   = countryRepository;
     this.regionRepository    = regionRepository;
     this.subRegionRepository = subRegionRepository;
     this.cityRepository      = cityRepository;
     this.areaRepository      = areaRepository;
 }
Пример #4
0
 /// <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;
 }