Ejemplo n.º 1
0
        /// <summary>
        /// 启用/停用管理员
        /// </summary>
        private void UseAdmin()
        {
            int id     = CRequest.GetInt("id", 0);
            int status = CRequest.GetInt("status", 0);
            int num    = AdminUserService.UseAdmin(id, status);

            Response.Redirect("/admin/manager.aspx?useAdmin=" + num);
        }