Exemplo n.º 1
0
        public ActionResult UploadPackages(PackageUploadVM upload)
        {
            if (string.IsNullOrEmpty(upload.TextAreaText))
            {
                throw new Exception("Need data to upload");
            }

            var interrogator = new Interrogate();

            return(View(interrogator.GetVersionsForUpload(upload.TextAreaText)));
        }
Exemplo n.º 2
0
        public ActionResult GetSingleResult(string id, string version)
        {
            var interrogator = new Interrogate();

            return(View(interrogator.GetVersions(id, version)));
        }