func (VS *Server) toViewVideoCourses(c *gin.Context, products []VideoCourse) []VideoCourseHTML {
	var productsHTML []VideoCourseHTML
	//Create the HTML data and reverting the order of the slice
	for i := len(products) - 1; 0 <= i; i-- {
		productsHTML = append(productsHTML, VS.toViewVideoCourse(c, products[i]))
	}
	return productsHTML
}
// This method takes an array of VideoCourses and returns an array of VideoCourseHTML
This method takes an array of VideoCourses and returns an array of VideoCourseHTML
// This method takes an array of VideoCourses and returns an array of VideoCourseHTML
func (VS *Server) toViewVideoCourses(c *gin.Context, products []VideoCourse) []VideoCourseHTML {
	var productsHTML []VideoCourseHTML
	for i := len(products) - 1; 0 <= i; i-- {
		productsHTML = append(productsHTML, VS.toViewVideoCourse(c, products[i]))
	}
	return productsHTML
}
func ( VS * Server ) toViewVideoCourses ( c * gin . Context , products [ ] VideoCourse ) [ ] VideoCourseHTML { var productsHTML [ ] VideoCourseHTML for i := len ( products ) - 1 ; 0 <= i ; i -- { productsHTML = append ( productsHTML , VS . toViewVideoCourse ( c , products [ i ] ) ) } return productsHTML }
This method takes an array of VideoCourses and returns an array of VideoCourseHTML
This method takes an array of VideoCourses and returns an array of VideoCourseHTML
//Create the HTML data and reverting the order of the slice