public async Task<ClientInvoiceProductModel> CreateClientInvoiceProductAsync(ClientInvoiceProductModel ClientInvoiceProduct)
        {

            using (var client = new HttpClient())
            {
                var values = HelperMethods.CreateKeyValuePairsFromReflection(ClientInvoiceProduct);

                client.DefaultRequestHeaders.Authorization = HelperMethods.CreateAuthorizationHeader(_apiKey);

                var content = new FormUrlEncodedContent(values);

                HttpResponseMessage response = await client.PostAsync(BaseRequestUri, content);

                string responseString = await response.Content.ReadAsStringAsync();
                return JsonConvert.DeserializeObject<ClientInvoiceProductModel>(responseString);
            }
        }
        public async Task<ClientInvoiceProductModel> EditClientInvoiceProductAsync(ClientInvoiceProductModel ClientInvoiceProduct)
        {

            using (var client = new HttpClient())
            {
                var values = HelperMethods.CreateKeyValuePairsFromReflection(ClientInvoiceProduct);


                client.DefaultRequestHeaders.Authorization = HelperMethods.CreateAuthorizationHeader(_apiKey);


                var content = new FormUrlEncodedContent(values);

                HttpResponseMessage response = await client.PutAsync(BaseRequestUri, content);

                return await GetClientInvoiceProductByIdAsync(ClientInvoiceProduct.InvoiceProdID);

            }
        }