func (VS *Server) newStep(c *gin.Context) {
	// We only can introduce new information if the Language is the main Language
	if getLanguage(c) != MainLanguage {
		VS.wrongFeedback(c, "To add a Step in a Language that is not the Main language of the app, you need to first add the step in the main language, change to the language desired for the modification, and modify the step that you want to translate")
		return
	}
	step, b := VS.getNewStep(c, bson.NewObjectId())
	if !b {
		return
	}
	VS.addElementToDatabaseWithRegisterFromCentral(c, step, step.ID, "h_videos", "newStep", "VS.addElementToDatabaseWithRegisterFromCentral")
	idservicetype, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	VS.goodFeedback(c, "videos/see-list/"+idservicetype.Hex())
}
// Stores the new Step information into the DataBase
Stores the new Step information into the DataBase
// Stores the new Step information into the DataBase
func (VS *Server) newStep(c *gin.Context) {
	if getLanguage(c) != MainLanguage {
		VS.wrongFeedback(c, "To add a Step in a Language that is not the Main language of the app, you need to first add the step in the main language, change to the language desired for the modification, and modify the step that you want to translate")
		return
	}
	step, b := VS.getNewStep(c, bson.NewObjectId())
	if !b {
		return
	}
	VS.addElementToDatabaseWithRegisterFromCentral(c, step, step.ID, "h_videos", "newStep", "VS.addElementToDatabaseWithRegisterFromCentral")
	idservicetype, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	VS.goodFeedback(c, "videos/see-list/"+idservicetype.Hex())
}
func ( VS * Server ) newStep ( c * gin . Context ) { if getLanguage ( c ) != MainLanguage { VS . wrongFeedback ( c , " " ) return } step , b := VS . getNewStep ( c , bson . NewObjectId ( ) ) if ! b { return } VS . addElementToDatabaseWithRegisterFromCentral ( c , step , step . ID , " " , " " , " " ) idservicetype , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } VS . goodFeedback ( c , " " + idservicetype . Hex ( ) ) }
Stores the new Step information into the DataBase
Stores the new Step information into the DataBase
// We only can introduce new information if the Language is the main Language