我的单元测试项目中有一个代码块,如下所示
IEnumerable<Product> result = (IEnumerable<Product>)controller.List(2).Model;
它产生错误
Error 1 'System.Web.Mvc.ActionResult' does not contain a definition for 'Model' and no extension method 'Model' accepting a first argument of type 'System.Web.Mvc.ActionResult' could be found ..
我该如何解决这个问题?