© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
6 replies
morry329#

Id points to always null

I have an Edit method which always returns a null id: https://pastecode.io/s/upokmghg

I tried to map the Id (from the controller/model) on my cshtml but it did not help. Could anyone kindly point me in the right direction??
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ Callback Url Always Null
C#CC# / help
4y ago
GetStreamAsync() Stream Always Null [Answered]
C#CC# / help
4y ago
✅ Nullable DateTimeOffset field in a [FromForm] model is always null
C#CC# / help
3y ago
My HttpContext.User always return null
C#CC# / help
3y ago