Exemplo n.º 1
0
        public ActionResult GetDocument(string versionNumber, string documentName)
        {
            var doc = DocumentSession.GetAttachmentResult(versionNumber.MakeCustomDocumentKey(documentName));

            return(doc ?? new HttpNotFoundResult(string.Format("No {0} associated with release candidate {1}", documentName, versionNumber)));
        }