Shuxia Ning
2024-08-12 d2cee56db11f0ee475e9f9dbdc8bfd03ad982e18
BLL/HStation.BLL.Xhs.Core/03-localclient/01-project/XhsProject.cs
@@ -221,12 +221,7 @@
        {
            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;
                return false;
            });
        }
@@ -237,12 +232,13 @@
        {
            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;
                return false;
                //var bol = _service.Deprecate(ID, out string Msg);
                //if (!bol)
                //{
                //    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, Msg);
                //}
                //return bol;
            });
        }