Ejemplo n.º 1
0
 public static Test IncludeRunHistories(this Test test, IRunHistoryRepository runHistoryRepository)
 {
     if (test.RunHistories != null)
     {
         return(test);
     }
     test.RunHistories = (RunHistoryList)runHistoryRepository.GetDataByTestId(test.Id);
     return(test);
 }
Ejemplo n.º 2
0
 public static Test IncludeRunHistories(this Test test, IRunHistoryRepository runHistoryRepository)
 {
     if (test.RunHistories != null) return test;
     test.RunHistories = (RunHistoryList) runHistoryRepository.GetDataByTestId(test.Id);
     return test;
 }
Ejemplo n.º 3
0
 public IQueryable <RunHistory> GetDataByTestId(Int32 testId)
 {
     return(_dbRepository.GetDataByTestId(testId).AsQueryable());
 }