починила

This commit is contained in:
анна 2024-05-31 20:57:47 +04:00
parent c776f582de
commit 3b97965b6e
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ namespace UniversityClientApp.Controllers
{
return View();
}
private ClientViewModel Client
{
get

View File

@ -15,10 +15,10 @@ var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllersWithViews();
builder.Services.AddSession(); // Äîáàâëÿåì ñåññèþ äëÿ àâòîðèçàöèè
builder.Services.AddTransient<IClientLogic, ClientLogic>();
builder.Services.AddTransient<IPurchaseLogic, PurchaseLogic>();
builder.Services.AddTransient<IOperationLogic, OperationLogic>();
builder.Services.AddTransient<IReportLogic, ReportLogic>();
builder.Services.AddTransient<IPaymentLogic, PaymentLogic>();
builder.Services.AddTransient<AbstractSaveToWord, SaveToWord>();