Beispiel #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)));
        }
Beispiel #2
0
        public ActionResult GetSingleResult(string id, string version)
        {
            var interrogator = new Interrogate();

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