public JsonResult GetDelays() { var delays = new List<Delay>(); foreach (var delay in GKManager.Delays) { var copyDelay = new Delay(delay); delays.Add(copyDelay); } return Json(delays.OrderBy(x=> x.Number), JsonRequestBehavior.AllowGet); }
public void DelayUpdate(Delay delay) { Clients.All.delayUpdate(delay); }