|
|
@@ -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() ; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|