Исполнитель: исправление ошибок

This commit is contained in:
Yunusov_Niyaz 2024-04-25 00:03:40 +04:00
parent 57600bd351
commit 78c8a27dd0

View File

@ -47,7 +47,7 @@ namespace VeterinaryDatabaseImplement.Models
Sum = model.Sum,
OwnerId = model.OwnerId,
DrugId = model.DrugId,
DatePurchase = model.DatePurchase
DatePurchase = model.DatePurchase,
Pets = model.PurchasePet.Select(x => new PurchasePet
{
Pet = context.Pets.First(y => y.Id == x.Key),