littleshop/LittleShop.Client/LittleShopClient.cs
2025-08-27 18:02:39 +01:00

33 lines
953 B
C#

using LittleShop.Client.Configuration;
using LittleShop.Client.Services;
using Microsoft.Extensions.Options;
namespace LittleShop.Client;
public interface ILittleShopClient
{
IAuthenticationService Authentication { get; }
ICatalogService Catalog { get; }
IOrderService Orders { get; }
ICustomerService Customers { get; }
}
public class LittleShopClient : ILittleShopClient
{
public IAuthenticationService Authentication { get; }
public ICatalogService Catalog { get; }
public IOrderService Orders { get; }
public ICustomerService Customers { get; }
public LittleShopClient(
IAuthenticationService authenticationService,
ICatalogService catalogService,
IOrderService orderService,
ICustomerService customerService)
{
Authentication = authenticationService;
Catalog = catalogService;
Orders = orderService;
Customers = customerService;
}
}