public notificationHub(IServiceRepository serviceRepository, INotificationRepository notificationRepository, IAddServRepository addServRepository, IServAssReqRepository servAssReqRepository, IStatOfVehicleRepository statOfVehicleRepository) { this.serviceRepository = serviceRepository; this.notificationRepository = notificationRepository; this.statOfVehicleRepository = statOfVehicleRepository; this.addServRepository = addServRepository; this.servAssReqRepository = servAssReqRepository; }
public addServiceHandler(IAddServRepository addServ, IStatOfVehicleRepository statOfVehicleRepository) { this.addServ = addServ; this.statOfVehicleRepository = statOfVehicleRepository; }
public addServiceController(IAddServRepository addServRepository, IStatOfVehicleRepository statOfVehicleRepository) { this.addServRepository = addServRepository; this.statOfVehicleRepository = statOfVehicleRepository; ash = new addServiceHandler(this.addServRepository, this.statOfVehicleRepository); }