Пример #1
0
        public async Task UpdateProduct(QuotationLineLinkedDataItemDto product)
        {
            var response = await SdkClient.QuotationLinesLinkedDataByIdPutAsync(product.QuotationLineLinkedDataItemId, product);

            if (response.StatusCode != (int)HttpStatusCode.OK)
            {
                throw new ApplicationException($"Error updating quotation lined linked data item. {response.StatusCode}.");
            }
        }
Пример #2
0
 public async Task CreateProduct(QuotationLineLinkedDataItemDto product)
 {
     await SdkClient.QuotationLinesLinkedDataPostAsync(product);
 }