public ActionResult GetTestCasePatternImage(long patternId) { var result = this.testCaseService.GetPatternScreenshot(patternId); return(ActionResultFactory.ImageResult(result)); }
public ActionResult GetScreenshot(long testId, ScreenshotType screenshotType) { var image = this.testResultService.GetScreenshot(testId, screenshotType); return(ActionResultFactory.ImageResult(image)); }