Changeset 11246 for branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Controllers/AdminDataController.cs
- Timestamp:
- 07/30/14 16:41:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Controllers/AdminDataController.cs
r11222 r11246 73 73 } 74 74 75 public JsonResult MoreSlaveInfo(string slaveId ) {75 public JsonResult MoreSlaveInfo(string slaveId, DateTime? start = null, DateTime? end = null) { 76 76 using (var db = new HiveDataContext(Settings.Default.HeuristicLab_Hive_LinqConnectionString)) 77 77 { 78 78 var moreInfo = (from slaves in db.FactClientInfos 79 where slaves.ClientId.ToString() == slaveId 79 where slaves.ClientId.ToString() == slaveId && 80 (!start.HasValue || slaves.Time >= start) && 81 (!end.HasValue || slaves.Time < end) 80 82 select new 81 83 {
Note: See TracChangeset
for help on using the changeset viewer.