Changeset c2e73b6 for iknow-api/Repository
- Timestamp:
- 10/28/25 10:49:02 (11 months ago)
- Branches:
- master
- Children:
- 4708118, ff202cf
- Parents:
- e49c3ed (diff), c155364 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Boris Gjorgjievski <69085722+imbrsk@…> (10/28/25 10:49:02)
- git-committer:
- GitHub <noreply@…> (10/28/25 10:49:02)
- Location:
- iknow-api/Repository
- Files:
-
- 2 added
- 2 edited
-
Implementations/RefreshTokenRepository.cs (added)
-
Implementations/UserRepository.cs (modified) (1 diff)
-
Interface/IRefreshTokenRepository.cs (added)
-
Interface/IUserRepository.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Repository/Implementations/UserRepository.cs
re49c3ed rc2e73b6 24 24 return await _context.User.FirstOrDefaultAsync(u => u.Email == username); 25 25 } 26 26 public async Task<User?> GetOnlyUserByIdAsync(int id) 27 { 28 return await _context.User.FirstOrDefaultAsync(u => u.Id == id); 29 } 27 30 public async Task AddUserAsync(User user) 28 31 { -
iknow-api/Repository/Interface/IUserRepository.cs
re49c3ed rc2e73b6 8 8 Task AddUserAsync(User user); 9 9 Task<int> GetUsersCountAsync(); 10 Task<User?> GetOnlyUserByIdAsync(int id); 11 10 12 } 11 13 }
Note:
See TracChangeset
for help on using the changeset viewer.
