This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user