Exemplo n.º 1
0
 /// <summary>
 /// 减少计数器
 /// </summary>
 /// <param name="activityId">活动ID</param>
 /// <returns></returns>
 public Task <OperationResult <bool> > DecrementCounterAsync(int orderId)
 => OperationResult.FromResultAsync(FlashSaleManager.DecrementCounter(orderId));