у православных что ни день то бдсм

This commit is contained in:
Галина Федоренко 2024-04-30 23:30:22 +04:00
parent f524411aa6
commit de4aadb9c4
6 changed files with 25 additions and 56 deletions

View File

@ -13,9 +13,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawFirmDatabaseImplement",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawFirmRestApi", "LawFirmRestApi\LawFirmRestApi.csproj", "{7AB047DE-CA1A-4F17-93A6-F6DC13E52826}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LawFirmExecutorApp", "LawFirmExecutorApp\LawFirmExecutorApp.csproj", "{39438D19-AA0A-411C-AC9E-C181F9A551C2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawFirmExecutorApp", "LawFirmExecutorApp\LawFirmExecutorApp.csproj", "{39438D19-AA0A-411C-AC9E-C181F9A551C2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LawFirmGuarantorApp", "LawFirmGuarantorApp\LawFirmGuarantorApp.csproj", "{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawFirmGuarantorApp", "LawFirmGuarantorApp\LawFirmGuarantorApp.csproj", "{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -44,11 +44,9 @@ Global
{7AB047DE-CA1A-4F17-93A6-F6DC13E52826}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AB047DE-CA1A-4F17-93A6-F6DC13E52826}.Release|Any CPU.Build.0 = Release|Any CPU
{39438D19-AA0A-411C-AC9E-C181F9A551C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39438D19-AA0A-411C-AC9E-C181F9A551C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39438D19-AA0A-411C-AC9E-C181F9A551C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39438D19-AA0A-411C-AC9E-C181F9A551C2}.Release|Any CPU.Build.0 = Release|Any CPU
{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4B6D26B1-141A-48CC-A6F7-E51BDD06C4E2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection

View File

@ -17,7 +17,7 @@ namespace LawFirmBusinessLogic.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;

View File

@ -11,9 +11,9 @@ namespace LawFirmDatabaseImplement
{
if (optionsBuilder.IsConfigured == false)
{
//optionsBuilder.UseSqlServer(@"Data Source=ZIRAEL\SQLEXPRESS;Initial Catalog=LawFirmDatabase;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
optionsBuilder.UseSqlServer(@"Data Source=ZIRAEL\SQLEXPRESS;Initial Catalog=LawFirmDatabase;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
optionsBuilder.UseSqlServer(@"Data Source=PC-Anna\SQLEXPRESS;Initial Catalog=LawFirmDatabase;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
//optionsBuilder.UseSqlServer(@"Data Source=PC-Anna\SQLEXPRESS;Initial Catalog=LawFirmDatabase;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
}
base.OnConfiguring(optionsBuilder);
}

View File

@ -54,7 +54,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("ExecutorId");
b.ToTable("Cases");
b.ToTable("Cases", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.CaseClient", b =>
@ -77,7 +77,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("ClientId");
b.ToTable("CaseClients");
b.ToTable("CaseClients", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Client", b =>
@ -107,7 +107,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("ExecutorId");
b.ToTable("Clients");
b.ToTable("Clients", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Consultation", b =>
@ -136,7 +136,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("GuarantorId");
b.ToTable("Consultations");
b.ToTable("Consultations", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.ConsultationLawyer", b =>
@ -159,7 +159,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("LawyerId");
b.ToTable("ConsultationLawyers");
b.ToTable("ConsultationLawyers", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Executor", b =>
@ -184,7 +184,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasKey("Id");
b.ToTable("Executors");
b.ToTable("Executors", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Guarantor", b =>
@ -209,7 +209,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasKey("Id");
b.ToTable("Guarantors");
b.ToTable("Guarantors", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Hearing", b =>
@ -234,7 +234,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("GuarantorId");
b.ToTable("Hearings");
b.ToTable("Hearings", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.HearingLawyer", b =>
@ -257,7 +257,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("LawyerId");
b.ToTable("HearingLawyers");
b.ToTable("HearingLawyers", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Lawyer", b =>
@ -287,7 +287,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("GuarantorId");
b.ToTable("Lawyers");
b.ToTable("Lawyers", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Visit", b =>
@ -313,7 +313,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("HearingId");
b.ToTable("Visits");
b.ToTable("Visits", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.VisitClient", b =>
@ -336,7 +336,7 @@ namespace LawFirmDatabaseImplement.Migrations
b.HasIndex("VisitId");
b.ToTable("VisitClients");
b.ToTable("VisitClients", (string)null);
});
modelBuilder.Entity("LawFirmDatabaseImplement.Models.Case", b =>

View File

@ -1,28 +0,0 @@
using LawFirmBusinessLogic.BusinessLogics;
using LawFirmContracts.BusinessLogicContracts;
using Microsoft.AspNetCore.Mvc;
namespace LawFirmRestApi.Controllers
{
[Route("api/[controller]/[action]")]
[ApiController]
public class ConsultationController : Controller
{
private readonly ILogger _logger;
private readonly IConsultationLogic _logic;
private readonly ILawyerLogic _lawyerlogic;
public ConsultationController(IConsultationLogic logic, ILogger<ConsultationController>
logger, ILawyerLogic lawyerLogic)
{
_logger = logger;
_logic = logic;
_lawyerlogic = lawyerLogic;
}
public IActionResult Index()
{
return View();
}
}
}

View File

@ -19,7 +19,7 @@ builder.Services.AddTransient<IConsultationStorage, ConsultationStorage>();
builder.Services.AddTransient<ILawyerStorage, LawyerStorage>();
builder.Services.AddTransient<IHearingStorage, HearingStorage>();
//builder.Services.AddTransient<IExecutorStorage, ExecutorStorage>();
builder.Services.AddTransient<IExecutorStorage, ExecutorStorage>();
//builder.Services.AddTransient<IGuarantorStorage, GuarantorStorage>();
@ -31,7 +31,7 @@ builder.Services.AddTransient<IConsultationLogic, ConsultationLogic>();
builder.Services.AddTransient<IHearingLogic, HearingLogic>();
builder.Services.AddTransient<ILawyerLogic, LawyerLogic>();
//builder.Services.AddTransient<IExecutorLogic, ExecutorLogic>();
builder.Services.AddTransient<IExecutorLogic, ExecutorLogic>();
//builder.Services.AddTransient<IGuarantorLogic, GuarantorLogic>();
@ -41,8 +41,7 @@ builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(c => c.SwaggerDoc("v1", new OpenApiInfo
{
Title = "LawFirmRestApi",
Version
= "v1"
Version = "v1"
}));
var app = builder.Build();