'SelectList and DropDownList (razor) in .net web API applications
I am transferring an MVC app to .net core API and was wondering whether it's possible to use SelectList and Html.DropDownList on the razor side in the API app? My understanding is that views no longer apply in API structure but I wanted to confirm.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|