func (VS *Server) editCheck(c *gin.Context) {
	idCheck, b := VS.getIDParamFromURL(c, "idcheck")
	if !b {
		return
	}
	oldCheck := VS.getCheckByID(c, idCheck, "h_videos", "editCheck", "oldCheck := VS.getCheckByID", true)
	newCheck, b := VS.getNewProductCheckList(c, idCheck, oldCheck.IDVideoCourse)
	if !b {
		return
	}
	idservicetype, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	VS.editElementInDatabaseWithRegisterFromCentral(c, newCheck, oldCheck, newCheck.ID, "h_videos", "editCheck", "VS.editElementInDatabaseWithRegisterFromCentral")
	VS.goodFeedback(c, "new-check/:idproduct/"+idservicetype.Hex())
}
// Updates the new information of the Check in the database
Updates the new information of the Check in the database
// Updates the new information of the Check in the database
func (VS *Server) editCheck(c *gin.Context) {
	idCheck, b := VS.getIDParamFromURL(c, "idcheck")
	if !b {
		return
	}
	oldCheck := VS.getCheckByID(c, idCheck, "h_videos", "editCheck", "oldCheck := VS.getCheckByID", true)
	newCheck, b := VS.getNewProductCheckList(c, idCheck, oldCheck.IDVideoCourse)
	if !b {
		return
	}
	idservicetype, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	VS.editElementInDatabaseWithRegisterFromCentral(c, newCheck, oldCheck, newCheck.ID, "h_videos", "editCheck", "VS.editElementInDatabaseWithRegisterFromCentral")
	VS.goodFeedback(c, "new-check/:idproduct/"+idservicetype.Hex())
}
func ( VS * Server ) editCheck ( c * gin . Context ) { idCheck , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } oldCheck := VS . getCheckByID ( c , idCheck , " " , " " , " " , true ) newCheck , b := VS . getNewProductCheckList ( c , idCheck , oldCheck . IDVideoCourse ) if ! b { return } idservicetype , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } VS . editElementInDatabaseWithRegisterFromCentral ( c , newCheck , oldCheck , newCheck . ID , " " , " " , " " ) VS . goodFeedback ( c , " " + idservicetype . Hex ( ) ) }
Updates the new information of the Check in the database
Updates the new information of the Check in the database