public AppointmentController(IAppointmentRepository appointmentRepository, ICustomerRepository customerRepository, ICleanerRepository cleanerRepository, IServicePriceRepository servicePriceRepository, ICustomerSubscriptionRepository customerSubscriptionRepository, ICustomerAddressRepository customerAddressRepository) { this.appointmentRepository = appointmentRepository; this.customerRepository = customerRepository; this.cleanerRepository = cleanerRepository; this.servicePriceRepository = servicePriceRepository; this.customerSubscriptionRepository = customerSubscriptionRepository; this.customerAddressRepository = customerAddressRepository; }
public LotteryServer(IRepository <LotteryPlanLib, string> lotteryPlanLibRepository, IRepository <UserInfo> userRepository, IServicePriceRepository servicePriceRepository, IRepository <ServiceInfo> serviceRepository) { _lotteryPlanLibRepository = lotteryPlanLibRepository; _userRepository = userRepository; _servicePriceRepository = servicePriceRepository; _serviceRepository = serviceRepository; m_lotteryServiceAddress = ConfigHelper.GetValuesByKey("LotteryServiceAddress"); _freePlanNum = ConfigHelper.GetIntValues("FreePlanNum"); // _requestFactory = new RequestFactory(m_lotteryServiceAddress); m_planServiceAddress = ConfigHelper.GetValuesByKey("PlanServiceAddress"); }