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

            var id = (await _b_camera_usage_groupServices.Add(b_camera_usage_group));

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

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

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

            return(data);
        }