public ActionResult StopParsing(string connectionID) { if (Session["_Cancel"] != null) { var _Cancel = (Session["_Cancel"] as CancellationTokenSource); _Cancel.Cancel(); ProgressHub.HideProgress(connectionID); } return(new EmptyResult()); }