Пример #1
0
 public JsonResult AddMainClass(string ValueName, string userid)
 {
     if (!string.IsNullOrWhiteSpace(ValueName) && !string.IsNullOrWhiteSpace(userid))
     {
         result = classBLL.AddMainClass(ValueName, userid, out msg);
     }
     return(Json(new ResultClass(result, null, msg)));
 }