List<ProductViewModel> viewModel = model.pageViewModelList .Where(s => s.Size.Contains(SizeRecord) && s.Color.Contains(("'Red', 'Pink'"))) .ToList();
Colors: ID Color ---------- 1 Red 2 Purple ... ProductColors: ProductID ColorID -------------------- 1 1 1 2 ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)