public static void InsertGroup(Model_SubscriberGroup parameters) { int ret = SubScriberGroupController.InsertGroup(parameters); bool success = false; string msg = "no"; if (ret > 0) { success = true; msg = "Insert Completed!!"; } //IList<IDictionary<string, object>> obj = new List<IDictionary<string, object>>(); IDictionary <string, object> idic = new Dictionary <string, object>(); idic.Add("success", success); idic.Add("msg", msg); SendResponse(HttpContext.Current.Response, idic); }
public static void GetAll(DTParameters parameters) { AppTools.SendResponse(HttpContext.Current.Response, SubScriberGroupController.GetGroupList(parameters).ObjectToJSON()); }
public static void DataAll(DTParameters parameters) { SendResponse(HttpContext.Current.Response, SubScriberGroupController.GetGroupList_DatatbleView(parameters)); }