public ActionResult SaveChosenColumns(ChooseColumns value)
 {
     //var res1 = API_ChooseColumns.SaveChoosedColumns(value);
     //res.SystemMessages = res1.SystemMessages;
     //res.Message = res1.Message;
     res1 = API_ChooseColumns.SaveChoosedColumns(value);
     return(Json(res1));
     //return PartialView("_Messages", res1);
 }
 public ActionResult GetAllColumns(string pageName, bool IsRestoreDefaults = false)
 {
     return(Json(API_ChooseColumns.GetAllColumns(pageName, IsRestoreDefaults).Data, JsonRequestBehavior.AllowGet));
 }