Добавление всех новых зависимостей

This commit is contained in:
prodigygirl 2023-03-25 12:07:35 +04:00
parent 38529023f3
commit efc44b4d1d
2 changed files with 6 additions and 2 deletions

View File

@ -40,11 +40,14 @@ namespace FurnitureAssembly
services.AddTransient<IComponentStorage, ComponentStorage>();
services.AddTransient<IOrderStorage, OrderStorage>();
services.AddTransient<IFurnitureStorage, FurnitureStorage>();
services.AddTransient<IClientStorage, ClientStorage>();
services.AddTransient<IComponentLogic, ComponentLogic>();
services.AddTransient<IOrderLogic, OrderLogic>();
services.AddTransient<IFurnitureLogic, FurnitureLogic>();
services.AddTransient<IReportLogic, ReportLogic>();
services.AddTransient<IClientLogic, ClientLogic>();
services.AddTransient<AbstractSaveToExcel, SaveToExcel>();
services.AddTransient<AbstractSaveToWord, SaveToWord>();
@ -59,6 +62,7 @@ namespace FurnitureAssembly
services.AddTransient<FormFurnitures>();
services.AddTransient<FormReportFurnitureComponents>();
services.AddTransient<FormReportOrders>();
services.AddTransient<FormClients>();
}
}
}

View File

@ -12,12 +12,12 @@ using System.Threading.Tasks;
namespace FurnitureAssemblyBusinessLogic
{
public class CientLogic : IClientLogic
public class ClientLogic : IClientLogic
{
private readonly ILogger _logger;
private readonly IClientStorage _clientStorage;
public CientLogic(ILogger<CientLogic> logger, IClientStorage clientStorage)
public ClientLogic(ILogger<ClientLogic> logger, IClientStorage clientStorage)
{
_logger = logger;
_clientStorage = clientStorage;