Completed refactor
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using LiteCharms.Features.Shop.CartPackages;
|
||||
using LiteCharms.Features.Shop.Customers;
|
||||
using LiteCharms.Features.Shop.Leads;
|
||||
using LiteCharms.Features.Shop.Notifications;
|
||||
using LiteCharms.Features.Shop.Orders;
|
||||
using LiteCharms.Features.Shop.Products;
|
||||
using LiteCharms.Features.Shop.Quotes;
|
||||
using LiteCharms.Features.Shop.ShoppingCarts;
|
||||
|
||||
namespace LiteCharms.Features.Extensions;
|
||||
|
||||
public static class Shop
|
||||
{
|
||||
public static IServiceCollection AddShopServices(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