28 lines
943 B
C#
28 lines
943 B
C#
using LiteCharms.Features.TechShop.CartPackages;
|
|
using LiteCharms.Features.TechShop.Customers;
|
|
using LiteCharms.Features.TechShop.Leads;
|
|
using LiteCharms.Features.TechShop.Notifications;
|
|
using LiteCharms.Features.TechShop.Orders;
|
|
using LiteCharms.Features.TechShop.Products;
|
|
using LiteCharms.Features.TechShop.Quotes;
|
|
using LiteCharms.Features.TechShop.ShoppingCarts;
|
|
|
|
namespace LiteCharms.Features.TechShop.Extensions;
|
|
|
|
public static class Shop
|
|
{
|
|
public static IServiceCollection AddTechShopServices(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<PackageService>()
|
|
.AddSingleton<LeadService>()
|
|
.AddSingleton<NotificationService>()
|
|
.AddSingleton<OrderService>()
|
|
.AddSingleton<ProductService>()
|
|
.AddSingleton<QuoteService>()
|
|
.AddSingleton<ShoppingCartService>()
|
|
.AddSingleton<CustomerService>();
|
|
|
|
return services;
|
|
}
|
|
}
|