исправлено

This commit is contained in:
Данияр Аглиуллов 2023-03-13 17:32:16 +04:00
parent e5ea0c2960
commit d9d36e1eec

View File

@ -89,7 +89,7 @@ namespace ConfectioneryDatabaseImplement.Models
return new()
{
PastryName = context.Pastries.FirstOrDefault(x => x.Id == PastryId)?.PastryName ?? string.Empty,
ClientFIO = Client?.ClientFIO ?? context.Clients.FirstOrDefault(x => x.Id == ClientId)?.ClientFIO ?? string.Empty,
ClientFIO = Client?.ClientFIO ?? string.Empty,
ImplementerFIO = Implementer?.ImplementerFIO ?? string.Empty,
PastryId = PastryId,
Count = Count,