/// <summary>
        /// 设置分享idkey的状态
        /// </summary>
        /// <param name="IdKey">分享Id</param>
        /// <returns></returns>
        public async Task <OperationResult <bool> > SetShareBargainStatusAsync(Guid IdKey)
        {
            if (IdKey == Guid.Empty)
            {
                return(OperationResult.FromError <bool>(ErrorCode.ParameterError, "参数不正确"));
            }

            var result = await BargainManager.SetShareBargainStatus(IdKey);

            return(OperationResult.FromResult(result));
        }