func (VS *Server) toViewAssignments(c *gin.Context, assignments []Assignment) []AssignmentHTML {
	var assignmentsHTML []AssignmentHTML
	var a AssignmentHTML
	for _, n := range assignments {
		a = VS.toViewAssignment(c, n)
		assignmentsHTML = append(assignmentsHTML, a)
	}
	return assignmentsHTML
}
// This method takes an array of Assignments and returns an array of AssignmentsHTML
This method takes an array of Assignments and returns an array of AssignmentsHTML
// This method takes an array of Assignments and returns an array of AssignmentsHTML
func (VS *Server) toViewAssignments(c *gin.Context, assignments []Assignment) []AssignmentHTML {
	var assignmentsHTML []AssignmentHTML
	var a AssignmentHTML
	for _, n := range assignments {
		a = VS.toViewAssignment(c, n)
		assignmentsHTML = append(assignmentsHTML, a)
	}
	return assignmentsHTML
}
func ( VS * Server ) toViewAssignments ( c * gin . Context , assignments [ ] Assignment ) [ ] AssignmentHTML { var assignmentsHTML [ ] AssignmentHTML var a AssignmentHTML for _ , n := range assignments { a = VS . toViewAssignment ( c , n ) assignmentsHTML = append ( assignmentsHTML , a ) } return assignmentsHTML }
This method takes an array of Assignments and returns an array of AssignmentsHTML
This method takes an array of Assignments and returns an array of AssignmentsHTML