пилю отчет
This commit is contained in:
parent
547bcbea64
commit
d13ac1b074
@ -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=LawFirmDatabase2;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
||||
optionsBuilder.UseSqlServer(@"Data Source=PC-Anna\SQLEXPRESS;Initial Catalog=LawFirmDatabase2;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
||||
}
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
@ -131,7 +131,11 @@ namespace LawFirmRestApi.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
return _reportLogic.GetConsultationHearing(new ReportConsultationHearingBindingModel { DateFrom = dateFrom, DateTo = dateTo, GuarantorId = guarantorId});
|
||||
ReportConsultationHearingBindingModel model = new();
|
||||
model.DateTo = dateTo;
|
||||
model.DateFrom = dateFrom;
|
||||
model.GuarantorId = guarantorId;
|
||||
return _reportLogic.GetConsultationHearing(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user