私には2つの方法があります:
public ActionResult Index(int? id)
{
return Redirect("/View/" + this.GetMenuItems().First().Id);
}
public ActionResult Index(int id, uint? limit)
{
/View/1に移動すると、そのエラーが発生します
コントローラー タイプ 'ViewController' のアクション 'Index' に対する現在の要求は、次のアクション メソッド間であいまいです: System.Web.Mvc.ActionResult Index(System.Nullable 1[System.Int32]) on type SVNViewer.Controllers.ViewController
System.Web.Mvc.ActionResult Index(Int32, System.Nullable
1[System.UInt32]) on type SVNViewer.Controllers.ViewController
その2つの方法が必要ですが、あいまいなエラーを削除するにはどうすればよいですか?