我有带方法的控制器
public ActionResult LogOn()
        {
            return View(new AuthorizationModel { ReturnUrl = Request.Params["ReturnUrl"] }); 
        }
我有 2012 年和 2010 年的 2 个项目。在 VS 2010 的视图中,在 VS 2012 中不要:
@using (@Html.BeginForm<AccountController>(x => x.LogOn()))
错误文本:类型参数的数量不正确