如果我有以下代码,是否可以在一个视图上拥有两个视图数据?我将如何做这件事提前谢谢
public ActionResult Index(long id = 0)
{
var contentPage = (from c in db.Tble_content
where c.id == id
select c);
var contentlist = (from c in db.Tble_content
where c.EN_TopPageID == id
select c);
return View();
}