duheng
2024-10-29 c681d176cc4ea90691b834e2b8e36a27d27bff0c
BLL/HStation.BLL.Xhs.Core/03-localclient/01-project/XhsProject.cs
@@ -214,37 +214,6 @@
            });
        }
        /// <summary>
        ///
        /// </summary>
        public async Task<bool> Publish(long ID)
        {
            return await Task.Factory.StartNew(() =>
            {
                var bol = _service.Publish(ID, out string Msg);
                if (!bol)
                {
                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, Msg);
                }
                return bol;
            });
        }
        /// <summary>
        ///
        /// </summary>
        public async Task<bool> Deprecate(long ID)
        {
            return await Task.Factory.StartNew(() =>
            {
                var bol = _service.Deprecate(ID, out string Msg);
                if (!bol)
                {
                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, Msg);
                }
                return bol;
            });
        }
        #endregion Update