public TestResult PrivateStorage() { var t = test.TestPrivateBlob(this.fileTestData); var result = new TestResult { Passed = t.Passed, Status = t.Status }; return(result); }
public ActionResult Files(FileTestData data) { var test = new TestProcessor(); BlobTestResult result = null; if (TestType.TestPublicStorage && TestType.TestPrivateStorage) { var privateResult = test.TestPrivateBlob(data); var publicResult = test.TestPublicBlob(data); result = new BlobTestResult(privateResult, publicResult); } else if (TestType.TestPublicStorage) { result = test.TestPublicBlob(data); } else { result = test.TestPrivateBlob(data); } ViewBag.Result = result; return(View(data)); }