public async Task <MessageModel <string> > Post([FromBody] b_politic_role b_politic_role)
        {
            var data = new MessageModel <string>();

            var id = (await _b_politic_roleServices.Add(b_politic_role));

            data.success = id > 0;
            if (data.success)
            {
                data.response = id.ObjToString();
                data.msg      = "添加成功";
            }

            return(data);
        }
        public async Task <MessageModel <string> > Update([FromBody] b_politic_role b_politic_role)
        {
            var data = new MessageModel <string>();

            if (b_politic_role != null && b_politic_role.ID > 0)
            {
                var id = (await _b_politic_roleServices.Update(b_politic_role));
                data.success = id;
                if (data.success)
                {
                    data.response = "id为" + b_politic_role.ID.ToString() + "的数据更新成功";
                    data.msg      = "更新成功";
                }
                else
                {
                    data.response = "id为" + b_politic_role.ID.ToString() + "的数据不存在";
                }
            }

            return(data);
        }