terbaru
This commit is contained in:
No files matched your search
@@ -36,3 +36,12 @@ func GetDataPractitioner(c *gin.Context) {
|
||||
|
||||
c.JSON(http.StatusOK, responsePractitioner)
|
||||
}
|
||||
|
||||
func GetDataMPasien(c *gin.Context) {
|
||||
db := database.New().GetDB("simrs")
|
||||
simrs := connDatabase.NewDatabaseService(db)
|
||||
|
||||
dataMPasien := simrs.GetPasien()
|
||||
c.JSON(http.StatusOK, dataMPasien)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user