public IEnumerable <Test> Get(string testRunId, string status) { TestsData testsData = new TestsData(); return(testsData.GetDocuments().Where(t => t.TestRunId == testRunId && t.Result.Status == status)); }
public IEnumerable <Test> Get(string testRunId) { TestsData testsData = new TestsData(); return(testsData.GetDocuments().Where(t => t.TestRunId == testRunId)); }