Asp.Net MVC - Binding of parameter to model value!
- by Pino
This seems like the model binding is causing me issues.
Essentially I have a model called ProductOption and for the purpose of this question it has 2 fields
ID (Int) PK
ProductID (Int) FK
I have a standard route set-up
context.MapRoute(
"Product_default",
"Product/{controller}/{action}/{id}",
new { controller =…