Compare commits

..

3 Commits

Author SHA1 Message Date
c44f3c6d64 Merge branch 'LabWork06_Base' into LabWork06_Hard 2023-04-22 23:27:38 +04:00
a8f2d95d26 fix 2023-04-22 23:27:04 +04:00
0166fd5f8f fix 2023-04-22 23:26:35 +04:00
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

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

View File

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

View File

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