function destroy(req, res, next) {
	Published.findByIdAndRemove(req.params.id).exec();
	req.result =  OrientacionPedagogica.findByIdAndRemove(req.params.id).exec();



	next();
}
/**
 * Deletes a resource
 * restriction: 'authenticate'
 */
Deletes a resource
restriction: 'authenticate'
Deletes a resource restriction : ' authenticate '
function destroy(req, res, next) {
	Published.findByIdAndRemove(req.params.id).exec();
	req.result =  OrientacionPedagogica.findByIdAndRemove(req.params.id).exec();
	next();
}
function destroy ( req , res , next ) { Published . findByIdAndRemove ( req . params . id ) . exec ( ) ; req . result = OrientacionPedagogica . findByIdAndRemove ( req . params . id ) . exec ( ) ; next ( ) ; }
Deletes a resource
 restriction: 'authenticate'
Deletes a resource restriction : ' authenticate '