Can a Razor view have more than one model without using a ViewModel object?

前端 未结 0 1042
长情又很酷
长情又很酷 2021-02-15 05:09
@model MyMVC.Models.MyMVC.MyModel

@{
    ViewBag.Title = \"Index\";
}

The reason why I ask this question is in MVC we can have more than 1 form, so I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题