Example #1
0
        public ActionResult CheckEditRoleNameExists(string roleName, int ID)
        {
            bool result = RoleBLL.CheckRoleNameExists(roleName, ID);

            return(Json(!result));
        }
Example #2
0
        public ActionResult CheckAddRoleNameExists(string roleName)
        {
            bool result = RoleBLL.CheckRoleNameExists(roleName);

            return(Json(!result));
        }