func (VS *Server) showListVideoCurses(c *gin.Context) {
	service, b := VS.getOurService(c, "h_videos", "showListVideoCurses", "service, b := VS.getOurService")
	if !b {
		return
	}
	videos := VS.getAllVideoCoursesByServiceType(c, service.TypeID, "h_videos", "showListVideoCurses", "videos := VS.getAllVideoCoursesByServiceType")
	videosHTML := VS.toViewVideoCourses(c, videos)

	JSON, err := json.Marshal(videosHTML)
	VS.checkOperation(c, "h_videos", "showListVideoCurses", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON":        string(JSON),
		"videos":      videosHTML,
		"serviceType": service.TypeID,
	}, "tutorial-list.html")
}
// This handler shows the List of Video Courses with access in the Service Type
This handler shows the List of Video Courses with access in the Service Type
// This handler shows the List of Video Courses with access in the Service Type
func (VS *Server) showListVideoCurses(c *gin.Context) {
	service, b := VS.getOurService(c, "h_videos", "showListVideoCurses", "service, b := VS.getOurService")
	if !b {
		return
	}
	videos := VS.getAllVideoCoursesByServiceType(c, service.TypeID, "h_videos", "showListVideoCurses", "videos := VS.getAllVideoCoursesByServiceType")
	videosHTML := VS.toViewVideoCourses(c, videos)
	JSON, err := json.Marshal(videosHTML)
	VS.checkOperation(c, "h_videos", "showListVideoCurses", "JSON, err := json.Marshal(uHTML)", err)
	render(c, gin.H{
		"JSON":        string(JSON),
		"videos":      videosHTML,
		"serviceType": service.TypeID,
	}, "tutorial-list.html")
}
func ( VS * Server ) showListVideoCurses ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } videos := VS . getAllVideoCoursesByServiceType ( c , service . TypeID , " " , " " , " " ) videosHTML := VS . toViewVideoCourses ( c , videos ) JSON , err := json . Marshal ( videosHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : string ( JSON ) , " " : videosHTML , " " : service . TypeID , } , " " ) }
This handler shows the List of Video Courses with access in the Service Type
This handler shows the List of Video Courses with access in the Service Type