diff --git a/src/ApiGateways/Shopping.Aggregator/Services/IBasketService.cs b/src/ApiGateways/Shopping.Aggregator/Services/IBasketService.cs new file mode 100644 index 0000000..dc5d55e --- /dev/null +++ b/src/ApiGateways/Shopping.Aggregator/Services/IBasketService.cs @@ -0,0 +1,8 @@ +using Shopping.Aggregator.Models; + +namespace Shopping.Aggregator.Services; + +public interface IBasketService +{ + Task GetBasket(string userName); +} \ No newline at end of file diff --git a/src/ApiGateways/Shopping.Aggregator/Services/ICatalogService.cs b/src/ApiGateways/Shopping.Aggregator/Services/ICatalogService.cs new file mode 100644 index 0000000..26e96cc --- /dev/null +++ b/src/ApiGateways/Shopping.Aggregator/Services/ICatalogService.cs @@ -0,0 +1,10 @@ +using Shopping.Aggregator.Models; + +namespace Shopping.Aggregator.Services; + +public interface ICatalogService +{ + Task> GetCatalog(); + Task> GetCatalogByCategory(string category); + Task GetCatalog(string id); +} \ No newline at end of file diff --git a/src/ApiGateways/Shopping.Aggregator/Services/IOrderService.cs b/src/ApiGateways/Shopping.Aggregator/Services/IOrderService.cs new file mode 100644 index 0000000..ac530f8 --- /dev/null +++ b/src/ApiGateways/Shopping.Aggregator/Services/IOrderService.cs @@ -0,0 +1,8 @@ +using Shopping.Aggregator.Models; + +namespace Shopping.Aggregator.Services; + +public interface IOrderService +{ + Task> GetOrdersByUserName(string userName); +} \ No newline at end of file