Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bbachi/react-dotnet-example
/ Add
Method
Add
Models/UserRepository.cs:23–32 ·
view source on GitHub ↗
(UserModel item)
Source
from the content-addressed store, hash-verified
21
}
22
23
public UserModel Add(UserModel item)
24
{
25
if (item == null)
26
{
27
throw new ArgumentNullException(
"item"
);
28
}
29
item.Id = _nextId++;
30
users.Add(item);
31
return item;
32
}
33
}
34
}
Callers
1
PostUser
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected