Example #1
0
		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);
		}
Example #2
0
		public void DelayUpdate(Delay delay)
		{
			Clients.All.delayUpdate(delay);
		}