public IActionResult DelRole(int id)
        {
            Tright_Role_Da da = new Tright_Role_Da();

            if (da.Delete(s => s.Id == id) > 0)
            {
                return(SuccessMessage("已删除!"));
            }
            return(FailMessage());
        }
        public IActionResult DelRole(int id)
        {
            Tright_Role_Da da = new Tright_Role_Da();

            Tright_Role_Power_Da rpda = new Tright_Role_Power_Da();
            var rp = rpda.Select.Where(s => s.Role_Id == id).ToOne();


            Tright_Power_Da powerda = new Tright_Power_Da();

            if (da.Delete(s => s.Id == id) > 0 && powerda.Delete(s => s.Id == rp.Power_Id) > 0)
            {
                return(SuccessMessage("已删除!"));
            }

            return(FailMessage());
        }