My controller action expects several arguments, but only one can be nullable on POST. It is of type decimal. Based on the research I've done for default routing, it looks limited to setting a default value for an action expecting a single parameter.
This is the response message I get due to this:
MVC : The parameters dictionary contains a null entry for parameter 'z' of non-nullable type 'System.Decimal'
Here is the method signature in BarController.cs:
[HttpPost]
public PartialViewResult Bar(int x, string y, decimal z) {*/Etc*/}
Here is the route I attempted but was not successful (RouteConfig.cs):
routes.MapRoute(name: "Bar", url: "Foo/Bar/z",
defaults: new {controller = "Foo", action = "Bar", z= 0 });
My request body has values for x and z, but y can be nullable.