Controller: public ActionResult Cadastrar() { ViewBag.officelist = new SelectList(new OfficeREP().ListarTodos(), "id", "estado" ); [HttpPost] [ValidateAntiForgeryToken] public ActionResult Cadastrar(OpportunityMOD opportunidade) { ...
@Html.DropDownListFor(model => model.officeId,(SelectList)ViewBag.officeList, string.Empty, new { @class = "form-control" })