Here is the Rounte config:
routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}/{*filePath}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } );Although the id parameter is not required in this rounting. I've tried use code bellow and error occurs
@{Html.RenderAction("ListPart", "Store");} @{Html.RenderAction("ListPart", "Store", new { id = UrlParameter.Optional });}Finally, I add a really value to solve it.
@{Html.RenderAction("ListPart", "Store", new { id = 0 });}