How to send multiple data sources to a view in asp.net 6? [Answered]
Hey, So im learning asp.net 6. I have a page where i show products by giving a list to the view, But now i want to add a option selecter to the view based on a Enum in my model. I followed a tutorial on how to add the option selecter. But in the video it only gave the view parameter with data. How do i add Another list of data to the same view? I have 2 methods now that are called Index (Which obv dont work). But Can someone tell me how to send multiple data to the view that i can use? Since i can just use 1 @model in a view :c Hope you understand my question by looking at the code.

