Passing a List/model from a View to a controller
问题 I need to pass a model data from a view to a controller. My app works like this: 1. Search for products and return the list of products in a view. 2. Now after user on a product in a list I want to pass that model which contains the list of the products back into a different controller for further processing. As well as the name of the product that the user has clicked on. How can I do this? ViewModel public class ProductViewModel { public ProductViewModel() { products = new List