public JsonResult Question(string strategyid, string text) { try { _strategyService.AddQuestion(strategyid, text); return(Json(new { text = text })); } catch (Exception ex) { return(Json(new { error = ex.Message })); } }
public JsonResult Question(string strategyid, string text) { try { _strategyService.AddQuestion(strategyid, text); return(Json(new { text = text })); } catch (Exception ex) { return(Json(new { error = ex.Message })); } }