public customerController( IAuthenticate authenticate, IGarageRepository garageRepository, IServiceRepository serviceRepository, ICustomerRepository customerRepository, ILogtimeRepository logtimeRepository) { this.authenticate = authenticate; this.customerRepository = customerRepository; this.serviceRepository = serviceRepository; this.garageRepository = garageRepository; this.logtimeRepository = logtimeRepository; ah = new authenticateHandler(this.authenticate, this.logtimeRepository); sh = new serviceHandler(this.serviceRepository, this.garageRepository); ch = new CustomerHandler(this.customerRepository); }
public systemAdminController( IAuthenticate authenticate, IServiceRepository serviceRepository, ISysAdminRepository sysAdminRepository, IGarageRepository garageRepository, ILogtimeRepository logtimeRepository) { this.authenticate = authenticate; this.sysAdminRepository = sysAdminRepository; this.serviceRepository = serviceRepository; this.garageRepository = garageRepository; this.logtimeRepository = logtimeRepository; ah = new authenticateHandler(this.authenticate, this.logtimeRepository); sh = new serviceHandler(this.serviceRepository, this.garageRepository); sah = new systemAdminHandler(this.sysAdminRepository); }
public garageController( IApplicationRepository applicationRepository, IAuthenticate authenticate, IServiceRepository serviceRepository, IGarageRepository garageRepository, ILogtimeRepository logtimeRepository, ILocationRepository locationRepository) { this.locationRepository = locationRepository; this.authenticate = authenticate; this.serviceRepository = serviceRepository; this.garageRepository = garageRepository; this.applicationRepository = applicationRepository; this.logtimeRepository = logtimeRepository; ah = new authenticateHandler(this.authenticate, this.logtimeRepository); sh = new serviceHandler(this.serviceRepository, this.garageRepository); gh = new GarageHandler(this.applicationRepository, this.garageRepository, this.locationRepository); }
public mechanicController( IApplicationRepository applicationRepository, IAuthenticate authenticate, IServiceRepository serviceRepository, IMechanicRepository mechanicRepository, IGarageRepository garageRepository, ILogtimeRepository logtimeRepository) { this.authenticate = authenticate; this.mechanicRepository = mechanicRepository; this.serviceRepository = serviceRepository; this.applicationRepository = applicationRepository; this.garageRepository = garageRepository; this.logtimeRepository = logtimeRepository; ah = new authenticateHandler(this.authenticate, this.logtimeRepository); sh = new serviceHandler(this.serviceRepository, this.garageRepository); mh = new MechanicHandler(this.mechanicRepository, this.garageRepository, this.applicationRepository); }