Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ProductSold
- {
- ...
- }
- public class Order
- {
- public List<ProductSold> ProductSolds { get; set; }
- }
- public class ViewModel
- {
- public void getProductSolds(List<Order> orders)
- {
- return orders.Select(x => x.ProductSolds).toList(); // ???
- }
- }
Add Comment
Please, Sign In to add comment