'Post method does not send id
I have and issue that my post method is getting an id of null when i try and create a new post for my app. public void Add(Project project)
{
_tRDbContext.Projects.Add(project);
var b = _tRDbContext.Projects.SingleOrDefault(p => p.ProjectId == project.ProjectId);
}
i cant see to find the issue.
my github link for this project is: https://github.com/FLiindberg/TimeRegsAPI
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
