Пример #1
0
 public JsonResult Research(string strategyid, string text)
 {
     try
     {
         string id = _strategyService.AddResearch(strategyid, text);
         return(Json(new { id = id, text = text }));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }));
     }
 }