Borschevskaya A.A. Lab work 5 #9

Closed
pgirl1 wants to merge 13 commits from lab5_base into lab4_base
2 changed files with 6 additions and 2 deletions
Showing only changes of commit efc44b4d1d - Show all commits

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;