62,183
社区成员
发帖
与我相关
我的任务
分享
public class HomeController : Controller
{
public ActionResult Index(int para1,string para2,int para3,bool para4,CustomClass para5)
{
return View();
}
}
public class CustomClass
{
}
routes.MapRoute(
name: "Default",
url: "{controller}/{action}",
defaults: new { controller = "Home", action = "Index", para1 = 0, para2 = 0, para3 = 0, para4 = 0 }
);