Changeset 6253 for branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models
- Timestamp:
- 05/23/11 16:08:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models/QueryModel.cs
r6226 r6253 29 29 } 30 30 31 public RunCollectionData getRun(long id) { 32 QueryServiceClient client = Query.GetClientFactory(); 33 34 if (client != null) { 35 Run run = client.GetRuns(new long[1] { id }, false).ToList<Run>().First(); 36 RunCollectionData rcd = new RunCollectionData(run); 37 38 return rcd; 39 } 40 return null; 41 } 42 31 43 // just 4 testing 32 44 public IList<RunCollectionData> getTestRuns() { … … 51 63 return new List<RunCollectionData>(); 52 64 } 65 53 66 } 54 67 }
Note: See TracChangeset
for help on using the changeset viewer.