public EmergencyController(IOrderRepository orderRepo, ICustomerRepository customerRepo, IServiceRepository serviceRepo, ICleanerRepository cleanerRepo)
 {
     orderRepository    = orderRepo;
     customerRepository = customerRepo;
     serviceRepository  = serviceRepo;
     cleanerRepository  = cleanerRepo;
 }
 public AssignCleanerController(IAppointmentRepository appointmentRepository,
                                ICleanerRepository cleanerRepository,
                                ICustomerRepository customerRepository)
 {
     this.appointmentRepository = appointmentRepository;
     this.cleanerRepository     = cleanerRepository;
     this.customerRepository    = customerRepository;
 }
        //private IOrderRepository orderRepository;
        //private ICustomerRepository customerRepository;
        //private IServiceRepository serviceRepository;
        //private Customer customerCreatedRepo;


        public CleanerController(ICleanerRepository cleanerRepo)
        //, IOrderRepository orderRepo, ICustomerRepository customerRepo, IServiceRepository serviceRepo)
        {
            cleanerRepository = cleanerRepo;
            //orderRepository = orderRepo;
            //customerRepository = customerRepo;
            //serviceRepository = serviceRepo;
        }
Esempio n. 4
0
 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 AdminController(ICleanerRepository repo)
 {
     cleanerRepository = repo;
 }
 public CleanerController(ICleanerRepository repository)
 {
     cleanerRepository = repository;
 }