I am trying to pass more that 1 default parameters when mapping a route i.e
routes.MapRoute(
null,
"items",
new { controller = "Items", action = "Index", new { page = 1, pageSize=10 } } //prob here
);
Works fine with 1 parameter like:
routes.MapRoute(
null,
"items",
new { controller = "Items", action = "Index", page = 1 } //prob here
);
Thanks in advance