Пример #1
0
 /// <summary>
 ///  Constructor
 /// </summary>
 public SeasonalDiscountService(ISeasonalDiscountRepository seasonalDiscountRepository,
                                ISeasonalDiscountMainRepository seasonalDiscountMainRepository, ICompanyRepository companyRepository,
                                IDepartmentRepository departmentRepository, IOperationRepository operationRepository, ITariffTypeRepository tariffTypeRepository,
                                IHireGroupRepository hireGroupRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository, IVehicleCategoryRepository vehicleCategoryRepository,
                                IVehicleMakeRepository vehicleMakeRepository, IVehicleModelRepository vehicleModelRepository, IBpRatingTypeRepository ratingTypeRepository)
 {
     this.seasonalDiscountRepository     = seasonalDiscountRepository;
     this.seasonalDiscountMainRepository = seasonalDiscountMainRepository;
     this.companyRepository             = companyRepository;
     this.departmentRepository          = departmentRepository;
     this.operationRepository           = operationRepository;
     this.operationRepository           = operationRepository;
     this.tariffTypeRepository          = tariffTypeRepository;
     this.operationsWorkPlaceRepository = operationsWorkPlaceRepository;
     this.vehicleCategoryRepository     = vehicleCategoryRepository;
     this.vehicleMakeRepository         = vehicleMakeRepository;
     this.vehicleModelRepository        = vehicleModelRepository;
     this.hireGroupRepository           = hireGroupRepository;
     this.ratingTypeRepository          = ratingTypeRepository;
 }
 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;
 }
Пример #3
0
 /// <summary>
 ///  Credit Limit Constructor
 /// </summary>
 public CreditLimitService(ICreditLimitRepository creditLimitRepository, IBpSubTypeRepository subTypeRepository, IBpRatingTypeRepository ratingTypeRepository)
 {
     this.creditLimitRepository = creditLimitRepository;
     this.subTypeRepository     = subTypeRepository;
     this.ratingTypeRepository  = ratingTypeRepository;
 }
Пример #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RatingTypeService(IBpRatingTypeRepository bpRatingTypeRepository, ICreditLimitRepository creditLimitRepository, IBusinessPartnerRepository businessPartnerRepository)
 {
     this.bpRatingTypeRepository    = bpRatingTypeRepository;
     this.creditLimitRepository     = creditLimitRepository;
     this.businessPartnerRepository = businessPartnerRepository;
 }
Пример #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="bpRatingTypeRepository"></param>
 public BPRatingTypeService(IBpRatingTypeRepository bpRatingTypeRepository)
 {
     this.bpRatingTypeRepository = bpRatingTypeRepository;
 }