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))); }
public ActionResult GetSingleResult(string id, string version) { var interrogator = new Interrogate(); return(View(interrogator.GetVersions(id, version))); }