Esempio n. 1
0
        public ActionResult GetTableDataByRoleID()
        {
            int RoleId     = Global.CurrentUser.RoleId;
            var db         = new CommonDal();
            var LanguageID = Global.CurrentLanguage;
            var result     = db.GetTableDataByRoleID(RoleId);

            return(Content(JsonConvert.SerializeObject(new
            {
                result
            })));
        }