Пример #1
0
        public ActionResult ArchivedVersionXml(int id = invalidId)
        {
            if (id == invalidId)
            {
                return(NoId());
            }

            var doc     = queries.GetVersionXml <ArchivedArtistVersion>(id);
            var content = XmlHelper.SerializeToUTF8XmlString(doc);

            return(Xml(content));
        }