починила
This commit is contained in:
parent
c776f582de
commit
3b97965b6e
@ -36,6 +36,7 @@ namespace UniversityClientApp.Controllers
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
private ClientViewModel Client
|
||||
{
|
||||
get
|
||||
|
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user