diff --git a/README.md b/README.md index 1e49b99..d09b480 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ dotnet add package Integration.Marketplaces.Hepsiburada --version 1.0.0 ``` ```c# +using Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration; + var hepsiburadaProductIntegration = new HepsiburadaProductIntegration( username: "username", password: "password", diff --git a/samples/Marketplaces/HepsiburadaIntegrationSampleConsoleApp/Program.cs b/samples/Marketplaces/HepsiburadaIntegrationSampleConsoleApp/Program.cs index c5fd0d2..635596d 100644 --- a/samples/Marketplaces/HepsiburadaIntegrationSampleConsoleApp/Program.cs +++ b/samples/Marketplaces/HepsiburadaIntegrationSampleConsoleApp/Program.cs @@ -1,4 +1,6 @@ -var hepsiburadaProductIntegration = new HepsiburadaProductIntegration( +using Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration; + +var hepsiburadaProductIntegration = new HepsiburadaProductIntegration( username: "username", password: "password", isInProduction: false); diff --git a/src/Marketplaces/Integration.Marketplaces.Hepsiburada/Infrastructure/ProductIntegration/HepsiburadaProductIntegration.cs b/src/Marketplaces/Integration.Marketplaces.Hepsiburada/Infrastructure/ProductIntegration/HepsiburadaProductIntegration.cs index 4dd06a4..07986af 100644 --- a/src/Marketplaces/Integration.Marketplaces.Hepsiburada/Infrastructure/ProductIntegration/HepsiburadaProductIntegration.cs +++ b/src/Marketplaces/Integration.Marketplaces.Hepsiburada/Infrastructure/ProductIntegration/HepsiburadaProductIntegration.cs @@ -1,8 +1,9 @@ using Integration.Core; -using Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration; using Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response; using Integration.Marketplaces.Trendyol.Infrastructure; +namespace Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration; + public class HepsiburadaProductIntegration : HepsiburadaIntegrationBase, IHepsiburadaProductIntegration, IMarketplaceIntegration { private string GetCategoriesUrl() => $"{GetBaseUrl}product/api/categories/get-all-categories";