Mochalov D.V. LabWork06_Base #10

Closed
b0n3l3sS wants to merge 14 commits from LabWork06_Base into LabWork05_Base
2 changed files with 4 additions and 3 deletions
Showing only changes of commit a8f2d95d26 - Show all commits

View File

@ -63,7 +63,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,
};
}