MCPcopy Create free account
hub / github.com/bbachi/react-dotnet-example / UserRepository

Method UserRepository

Models/UserRepository.cs:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 private int _nextId = 1;
10
11 public UserRepository()
12 {
13 Add(new UserModel { firstName= "first1", lastName="last1", email="email1@gmail.com"});
14 Add(new UserModel { firstName= "first2", lastName="last2", email="email2@gmail.com"});
15 Add(new UserModel { firstName= "first3", lastName="last3", email="email3@gmail.com"});
16 }
17
18 public IEnumerable<UserModel> GetAll()
19 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected