Cannot assign <null> to anonymous type property (ASP.NET MVC Object RouteValues)

After reading an article called ASP.NET MVC Partial Rendering by Stewart Leeks, I decided to download the code sample and gave it a spin. As I reviewed each classes and controllers, I needed to implement some changes on saving (ActionResult decorated by [HttpPost]) attribute. The updates would be to pass a value to parameter linkId so that I can add new record after editing a new one. The first solution I have in mind was to pass a -1 to linkID. This would work but, this will append a -1 to the url being requested. return RedirectToAction( "ListAndEdit" , new { linkId = -1 }); Image to anonymous type property (ASP.NET MVC Object RouteValues)" title="Cannot assign to anonymous type property (ASP.NET MVC Object RouteValues)"/> The second solution was to pass an object to the routeValue. However, this would append a System.Object to the request url. return RedirectToAction( "ListAndEdit" , new { linkId = new object ()}); Image to anonym...