feat(hospital): add delete & modify apis for hospital
This commit is contained in:
@ -17,6 +17,8 @@ func SetupRouter() *gin.Engine {
|
||||
r.GET("/fetchAllRec", handlers.FetchAllRecords)
|
||||
|
||||
// hospital
|
||||
r.POST("/api/addHos", handlers.AddHospital)
|
||||
r.POST("/api/addHos", handlers.AddHospital) // add hospital
|
||||
r.POST("/api/modifyHos", handlers.ModifyHospital) // modify hospital
|
||||
r.DELETE("/api/deleteHos", handlers.DeleteHospital) // delete hospital
|
||||
return r
|
||||
}
|
||||
|
Reference in New Issue
Block a user