ляля
This commit is contained in:
parent
d7978b24d3
commit
bf5ff8691d
@ -189,7 +189,7 @@ namespace LawFirmBusinessLogic.BusinessLogics
|
|||||||
var record = new ReportConsultationHearingViewModel
|
var record = new ReportConsultationHearingViewModel
|
||||||
{
|
{
|
||||||
LawyerName = lawyer.FIO,
|
LawyerName = lawyer.FIO,
|
||||||
//Consultation = new List<(DateTime ConsultationDate, double Price)>(),
|
Consultation = new List<(DateTime ConsultationDate, double Price)>(),
|
||||||
Hearing = new List<(DateTime HearingDate, string Judge)>()
|
Hearing = new List<(DateTime HearingDate, string Judge)>()
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ namespace LawFirmBusinessLogic.BusinessLogics
|
|||||||
{
|
{
|
||||||
if (consultation.ConsultationLawyers.ContainsKey(lawyer.Id))
|
if (consultation.ConsultationLawyers.ContainsKey(lawyer.Id))
|
||||||
{
|
{
|
||||||
// record.Consultation.Add(new(consultation.ConsultationDate, consultation.Cost));
|
record.Consultation.Add(new(consultation.ConsultationDate, consultation.Cost));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach (var hearing in hearings)
|
foreach (var hearing in hearings)
|
||||||
|
@ -11,9 +11,9 @@ namespace LawFirmDatabaseImplement
|
|||||||
{
|
{
|
||||||
if (optionsBuilder.IsConfigured == false)
|
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);
|
base.OnConfiguring(optionsBuilder);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user