You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key is ensuring that the identifier for the Post resource is named with the type name, i.e. csharp post_id for a Post resource. The route data is examined first for parameters that match the type of the resource, if none are found it moves on to a simple id parameter. If none are found, it initializes a new model instance.