public virtual async Task <bool> TryIncreaseAsync(IncreaseInventoryInput input) { await CheckPolicyAsync(ProductsPluginsFlashSalesPermissions.FlashSaleInventory.Increase); return(await LocalFlashSaleInventoryManager.TryRollBackInventoryAsync( input.TenantId, input.ProviderName, input.StoreId, input.ProductId, input.ProductSkuId, input.Quantity, input.ReduceSold )); }
public virtual Task <bool> TryIncreaseAsync(IncreaseInventoryInput input) { return(AppService.TryIncreaseAsync(input)); }