This commit is contained in:
antoc0der 2024-02-15 19:22:45 +03:00
parent 44adb1d84a
commit 2385ba168a

View File

@ -8,6 +8,7 @@ using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging; using NLog.Extensions.Logging;
using System; using System;
using System.Drawing; using System.Drawing;
using FlowerShopBusinessLogic;
namespace ProjectFlowerShop namespace ProjectFlowerShop
{ {
@ -40,6 +41,8 @@ namespace ProjectFlowerShop
services.AddTransient<IComponentLogic, ComponentLogic>(); services.AddTransient<IComponentLogic, ComponentLogic>();
services.AddTransient<IOrderLogic, OrderLogic>(); services.AddTransient<IOrderLogic, OrderLogic>();
services.AddTransient<IFlowerLogic, FlowerLogic>(); services.AddTransient<IFlowerLogic, FlowerLogic>();
services.AddTransient<IShopStorage, ShopStorage>();
services.AddTransient<IShopLogic, ShopLogic>();
services.AddTransient<MainForm>(); services.AddTransient<MainForm>();
services.AddTransient<ComponentForm>(); services.AddTransient<ComponentForm>();
services.AddTransient<FormComponents>(); services.AddTransient<FormComponents>();
@ -47,6 +50,9 @@ namespace ProjectFlowerShop
services.AddTransient<FormProduct>(); services.AddTransient<FormProduct>();
services.AddTransient<FormProductComponent>(); services.AddTransient<FormProductComponent>();
services.AddTransient<FormFlowers>(); services.AddTransient<FormFlowers>();
services.AddTransient<ShopForm>();
services.AddTransient<ShopsForm>();
services.AddTransient<SupplyForm>();
} }
} }