Ejemplo n.º 1
0
        public ActionResult DelLinkCategoryJson(int id)
        {
            var result = new Helpers.SystemHelper().DeleteLinkCategory(id);

            return(Json(result));
        }
Ejemplo n.º 2
0
        public ActionResult AddLinkJson(LinksEntity param)
        {
            var list = new Helpers.SystemHelper().InsertLink(param);

            return(Json(list));
        }
Ejemplo n.º 3
0
        public ActionResult EditLinkCategoryView(int id)
        {
            var result = new Helpers.SystemHelper().GetLinkCategory(id);

            return(View(result));
        }
Ejemplo n.º 4
0
        public ActionResult EditLinkCategoryJson(LinkCategoryEntity param)
        {
            var list = new Helpers.SystemHelper().UpdateLinkCategory(param);

            return(Json(list));
        }
Ejemplo n.º 5
0
        public ActionResult Profile()
        {
            var profile = new Helpers.SystemHelper().GetUserByID(Helpers.LoginHelper.UserID);

            return(View(profile));
        }
Ejemplo n.º 6
0
        public ActionResult ProfileJson(UserEntity param)
        {
            var result = new Helpers.SystemHelper().UpdateUser(param);

            return(Json(result));
        }
Ejemplo n.º 7
0
        public ActionResult EditUserRoleView(int id)
        {
            var result = new Helpers.SystemHelper().GetUserRoleByID(id);

            return(View(result));
        }
Ejemplo n.º 8
0
        //
        // GET: /Admin/Settings/

        public ActionResult SysConfigView()
        {
            var result = new Helpers.SystemHelper().GetSystemConfig();

            return(View(result));
        }
Ejemplo n.º 9
0
        public ActionResult UserPermissionListJson(string id)
        {
            var list = new Helpers.SystemHelper().GetMenus(id);

            return(Json(list));
        }
Ejemplo n.º 10
0
        public ActionResult AddUserRoleJson(UserRoleEntity param)
        {
            var result = new Helpers.SystemHelper().InsertUserRole(param);

            return(Json(result));
        }
Ejemplo n.º 11
0
        public ActionResult DelUserRoleJson(int id)
        {
            var result = new Helpers.SystemHelper().DeleteUserRole(id);

            return(Json(result));
        }
Ejemplo n.º 12
0
        public ActionResult EditDocumentView(int id)
        {
            var model = new Helpers.SystemHelper().GetDocumentByID(id);

            return(View(model));
        }
Ejemplo n.º 13
0
        public ActionResult DeleteArticleImageJson(int id)
        {
            var result = new Helpers.SystemHelper().DeleteArticleImage(id);

            return(Json(result));
        }
Ejemplo n.º 14
0
        public ActionResult ImageArticleEditJson(ArticleImageEntity param)
        {
            var result = new Helpers.SystemHelper().UpdateArticleImage(param);

            return(Json(result));
        }
Ejemplo n.º 15
0
        public ActionResult ImageArticleAddJson(ArticleImageEntity param)
        {
            var result = new Helpers.SystemHelper().InsertArticleImage(param);

            return(Json(result));
        }