update:feature to room done

This commit is contained in:
wayanrivan
2026-02-16 12:08:19 +07:00
parent e7f4deca7c
commit f42e533a75
4 changed files with 218 additions and 2 deletions

View File

@ -19,6 +19,7 @@ import { ServiceFareController } from '../controllers/service_fare';
import { ServicePackageController } from '../controllers/service_package';
import { DepartmentController } from '../controllers/department';
import { DoctorScheduleController } from '../controllers/doctor_schedule';
import { ServiceToDepartController } from '../controllers/servicetodepart'
export class RoutePrivate {
static setup(app: express.Application) {
@ -124,7 +125,6 @@ export class RoutePrivate {
app.put('/api/service/update/:id', ServiceController.update)
app.delete('/api/service/delete/:id/:hard', ServiceController.delete)
app.put('/api/service/restore/:id', ServiceController.restore)
app.put('/api/service/update-service-rooms/:id', ServiceController.updateservicerooms)
app.get('/api/service-fare/list', ServiceFareController.list)
app.post('/api/service-fare/create', ServiceFareController.create)
@ -153,5 +153,8 @@ export class RoutePrivate {
app.put('/api/doctor-schedule/update/:id', DoctorScheduleController.update)
app.delete('/api/doctor-schedule/delete/:id/:hard', DoctorScheduleController.delete)
app.put('/api/doctor-schedule/restore/:id', DoctorScheduleController.restore)
app.get('/api/service-to-depart/list', ServiceToDepartController.list)
app.put('/api/service-to-depart/:id', ServiceToDepartController.update)
}
}