I am trying to create a dropdonw in my MVC web application.
Model
namespace projectname.Models { public class DropDownModel { public int i
You need to give your View the Model which is the listItem.
View
listItem
return View(listItem);