Tsukanova_I.V. LabWork08_base #12

Closed
Inohara wants to merge 13 commits from LabWork08 into LabWork07
Showing only changes of commit 7e5a5ecce1 - Show all commits

View File

@ -93,7 +93,7 @@ namespace IceCreamShopDatabaseImplement.Models
DateCreate = DateCreate,
DateImplement = DateImplement,
Id = Id,
IceCreamName = IceCream?.IceCreamName ?? string.Empty,
IceCreamName = context.IceCreams.FirstOrDefault(x => x.Id == IceCreamId)?.IceCreamName ?? string.Empty,
ImplementerFIO = Implementer?.ImplementerFIO ?? string.Empty,
ClientFIO = Client?.ClientFIO ?? string.Empty,
};