public ongoingServiceHandler(IOnGoingServRepository onGoingServ, IStatOfVehicleRepository statOfVehicleRepository) { this.onGoingServ = onGoingServ; this.statOfVehicleRepository = statOfVehicleRepository; }
public ongoingServiceController(IOnGoingServRepository onGoingServRepository, IStatOfVehicleRepository statOfVehicleRepository) { this.onGoingServRepository = onGoingServRepository; this.statOfVehicleRepository = statOfVehicleRepository; ogs = new ongoingServiceHandler(this.onGoingServRepository, this.statOfVehicleRepository); }