gwbvipvip pirms 9 mēnešiem
vecāks
revīzija
0babd68a07
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +6
    -1
      BPA.KitChen.StoreManagement.Application/Service/ShopManage/Printer/PrinterServices.cs

+ 6
- 1
BPA.KitChen.StoreManagement.Application/Service/ShopManage/Printer/PrinterServices.cs Parādīt failu

@@ -293,7 +293,12 @@ namespace BPA.KitChen.StoreManagement.Application.Service.ShopManage.Printer
FoodName =a.FoodName

}).ToList();
return list;
return list.GroupBy(x => x.FoodName).Select(x=>new StoreFoodMenuOutDtocs()
{
FoodId=x.First()?.FoodId,
FoodName=x.First()?.FoodName,

}).ToList() ;
}




Notiek ielāde…
Atcelt
Saglabāt