Отправляю коммит ☆ ~(^꒳^人)
This commit is contained in:
parent
5eeb14e167
commit
3380394c19
@ -142,7 +142,6 @@ namespace LawCompanyBusinessLogic.BusinessLogics
|
||||
FIO = model.FIO,
|
||||
Phone = model.Phone,
|
||||
Email = model.Email,
|
||||
ExecutorId = model.ExecutorId,
|
||||
});
|
||||
if (element != null && element.Id != model.Id)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace LawCompanyBusinessLogic.BusinessLogics
|
||||
private readonly ILogger _logger;
|
||||
private readonly IExecutorStorage _executorStorage;
|
||||
|
||||
public ExecutorLogic(ILogger logger, IExecutorStorage executorStorage)
|
||||
public ExecutorLogic(ILogger<ExecutorLogic> logger, IExecutorStorage executorStorage)
|
||||
{
|
||||
_logger = logger;
|
||||
_executorStorage = executorStorage;
|
||||
|
@ -20,7 +20,7 @@ builder.Services.AddTransient<ILawyerStorage, LawyerStorage>();
|
||||
builder.Services.AddTransient<IHearingStorage, HearingStorage>();
|
||||
|
||||
builder.Services.AddTransient<IExecutorStorage, ExecutorStorage>();
|
||||
builder.Services.AddTransient<IGuarantorStorage, GuarantorStorage>();
|
||||
//builder.Services.AddTransient<IGuarantorStorage, GuarantorStorage>();
|
||||
|
||||
|
||||
builder.Services.AddTransient<ICaseLogic, CaseLogic>();
|
||||
@ -32,7 +32,7 @@ builder.Services.AddTransient<IHearingLogic, HearingLogic>();
|
||||
builder.Services.AddTransient<ILawyerLogic, LawyerLogic>();
|
||||
|
||||
builder.Services.AddTransient<IExecutorLogic, ExecutorLogic>();
|
||||
builder.Services.AddTransient<IGuarantorLogic, GuarantorLogic>();
|
||||
//builder.Services.AddTransient<IGuarantorLogic, GuarantorLogic>();
|
||||
|
||||
|
||||
builder.Services.AddControllers();
|
||||
@ -41,8 +41,7 @@ builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen(c => c.SwaggerDoc("v1", new OpenApiInfo
|
||||
{
|
||||
Title = "LawCompanyRestApi",
|
||||
Version
|
||||
= "v1"
|
||||
Version = "v1"
|
||||
}));
|
||||
|
||||
var app = builder.Build();
|
||||
|
Loading…
Reference in New Issue
Block a user