public ActionResult RequiredPermission(string k = "") { string keyDescrypt = ""; if (!String.IsNullOrEmpty(k)) { keyDescrypt = StaticFunc.Base64Decode(k); } ViewBag.PermissionCode = keyDescrypt; return(View()); }
// GET: Resource public ActionResult Index(string par = "") { string tableName = ""; string dataSource = ""; if (!String.IsNullOrEmpty(par)) { string parDecrypt = StaticFunc.Base64Decode(par); if (parDecrypt != "") { string[] parArr = parDecrypt.Split('#'); if (parArr != null && parArr.Count() == 2) { tableName = parArr[0].ToString(); dataSource = parArr[1].ToString(); } } } ViewBag.Tables = new SqlSelectListDao().GetSelectLists("spSelectList_GetTableConfiged"); ViewBag.TableName = tableName; ViewBag.DataSource = dataSource; return(View()); }