I got this error when i redirect to another action with parameters.
In my case, the problem was parameter name. Add correct parameter.
return RedirectToAction("ProductTryout", new RouteValueDictionary(new { controller = "Catalog", action = "ProductTryout", productId = model.Id }));
No comments:
Post a Comment