public IEnumerable <TestRun> Get(string category) { TestRunsData dataContext = new TestRunsData(); return(dataContext.GetDocuments().Where(t => t.Category == category)); }
public IEnumerable <TestRun> Get() { TestRunsData dataContext = new TestRunsData(); return(dataContext.GetDocuments()); }