Guest User

Untitled

a guest
Jul 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public class ProductSold
  2. {
  3. ...
  4. }
  5. public class Order
  6. {
  7. public List<ProductSold> ProductSolds { get; set; }
  8. }
  9. public class ViewModel
  10. {
  11. public void getProductSolds(List<Order> orders)
  12. {
  13. return orders.Select(x => x.ProductSolds).toList(); // ???
  14. }
  15. }
Add Comment
Please, Sign In to add comment