public void StopDataTransfferAsyncTest() { try { appiHandler = new APIHandler(); var t = appiHandler.StopDataTransfferAsync().Result; } catch (Exception ex) { Assert.Fail(ex.Message); } }
public JsonResult StopDataTransfer() { handler.StopDataTransfferAsync().Wait(); CurvesData.LSTCurvesData.Clear(); return(Json(true, JsonRequestBehavior.AllowGet)); }