public ActionResult MetadatoDocumentoVas() { ActionResult result = null; int id = Parse.ToInt32OrDefault(Request.QueryString["ID_Documento"], 0); if (id > 0) { id = LegacyService.GetDocumentoVasID(id); result = RedirectToActionPermanent("MetadatoDocumento", "Oggetti", new { id = id }); } else { result = HttpNotFound(); } return(result); }