Example #1
0
        /// <summary>
        /// Create or Update Multiple Products
        /// </summary>
        /// <param name="ordersData">Product object to be updated.</param>
        /// <returns>Updated product object</returns>
        public async Task <IEnumerable <Product> > CreateUpdateMany(IEnumerable <Product> ordersData)
        {
            var bundle = new ProductsBundle {
                Content = ordersData
            };

            return((await Put("products/bulk", toSerialize: bundle)).Content);
        }
 public async void NavigateToProducts(ProductsBundle bundle)
 {
     await NavigateTo <ICatalogViewModel>(bundle);
 }