I'm trying to learn MVC and having a rough start.
routes.MapRoute(
"Test",
"Test/{stringInput}",
new { controller = "Test", action = "TestMethod", stringInput = "" }
);
doesn't pass stringInput
to the method TestMethod
in the controller. It comes over null.
Not sure what I'm missing, it seems very simple and straightforward. This route was placed above the default.