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 CustomerSubscriptionService(ICustomerSubscriptionRepository customerSubscriptionRepository) { _customerSubscriptionRepository = customerSubscriptionRepository; }