public virtual ActionResult Notify(PlayingModel model) { GetProxy().Invoke<SplashifyHub>("SetPlaying", model).Wait(); return Json(model, JsonRequestBehavior.AllowGet); }
public void SetPlaying(PlayingModel playing) { Playing = playing; Clients.updatePlaying(JsonSerializer.ToJson <PlayingModel>(Playing)); }
public virtual ActionResult Notify(PlayingModel model) { GetProxy().Invoke <SplashifyHub>("SetPlaying", model).Wait(); return(Json(model, JsonRequestBehavior.AllowGet)); }