예제 #1
0
        public async Task <ServerResponse> DeleteIssuerCommerce(CommerceIssuerIdRequest commerce)
        {
            var currentSynchronizationContext = SynchronizationContext.Current;

            try
            {
                SynchronizationContext.SetSynchronizationContext(new OperationContextSynchronizationContext(InnerChannel));
                return(await WrapperT(Channel.DeleteIssuerCommerce, commerce));
            }
            finally
            {
                SynchronizationContext.SetSynchronizationContext(currentSynchronizationContext);
            }
        }
 public async Task <ServerResponse> DeleteIssuerCommerce(CommerceIssuerIdRequest commerce)
 {
     return(await OnlyRunOnIntranet(() => _cl.DeleteIssuerCommerce(commerce)));
 }