I am trying to change this convention based route:
routes.MapRoute(
"MovieByReleaseDate",
"movies/released/{year}/{month}",
new { controller = "Movies", action = "ByReleasedDate" },
);
to attribute route:
[Route("movies/released/{year}/{month}")]
but I can't see how I can define default parameters like in the first way.