You get a value of 6 for the ID property, since it matches the Id parameter on your route. It seems that the default mediator is also looking for these properties in your URL.
Change the parameter name for your action method or the name of the ID property in the StatusClient class, and it should work fine.
Also, if you do not add EditorFor(o => o.DocumentParentID) in your view, DocumentParentID will not be sent back to your action method, and you will get a default value of 0.
source share