Mochalov D.V. LabWork07_Hard #15

Closed
b0n3l3sS wants to merge 12 commits from LabWork07_Hard into LabWork06_Hard
3 changed files with 5 additions and 3 deletions
Showing only changes of commit 1227889856 - Show all commits

1
.gitignore vendored
View File

@ -398,3 +398,4 @@ FodyWeavers.xsd
# JetBrains Rider
*.sln.iml
/LawFirm/ImplementationExtensions

View File

@ -70,7 +70,8 @@ namespace LawFirmBusinessLogic.BusinessLogics
DateCreate = viewModel.DateCreate,
DateImplement = viewModel.DateImplement,
Count = viewModel.Count,
Sum = viewModel.Sum
Sum = viewModel.Sum,
ImplementerId = viewModel.ImplementerId
};
if (rawModel.ImplementerId.HasValue)
{

View File

@ -78,8 +78,8 @@ namespace LawFirmDatabaseImplement.Models
DateImplement = DateImplement,
Id = Id,
Status = Status,
DocumentName = Document.DocumentName,
ClientFIO = Client.ClientFIO,
DocumentName = Document?.DocumentName ?? string.Empty,
ClientFIO = Client?.ClientFIO ?? string.Empty,
ImplementerFIO = Implementer?.ImplementerFIO ?? string.Empty,
};
}