public ActionResult ArchivedSeriesVersionXml(int id) { var doc = queries.GetVersionXml <ArchivedReleaseEventSeriesVersion>(id); var contract = doc != null?XmlHelper.SerializeToUTF8XmlString(doc) : string.Empty; return(Xml(contract)); }
public ActionResult ArchivedVersionXml(int id) { var doc = queries.GetVersionXml(id); var content = doc != null?XmlHelper.SerializeToUTF8XmlString(doc) : string.Empty; return(Xml(content)); }