public JsonResult AddSubClass(string ValueName, string ParentID, string userid) { if (!string.IsNullOrWhiteSpace(ValueName) && !string.IsNullOrWhiteSpace(ParentID) && !string.IsNullOrWhiteSpace(userid)) { result = classBLL.AddSubClass(ValueName, ParentID, userid, out msg); } return(Json(new ResultClass(result, null, msg))); }