public async Task UpdateProductsAsync(ShopVisibleProductsInventory products) { var xml = XmlSerializeHelpers.Serialize(products); await ActionPolicies.GetAsync.Do(async() => { await this._client.SetProductInventoryAsync(this._credentials.ClientName, this._credentials.Guid, "false", xml); }); }
public void UpdateProducts(ShopVisibleProductsInventory products) { var xml = XmlSerializeHelpers.Serialize(products); ActionPolicies.Submit.Do(() => this._client.SetProductInventory(this._credentials.ClientName, this._credentials.Guid, "false", xml)); }