Ignore:
Timestamp:
10/28/25 10:49:02 (11 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge pull request #5 from stefansaveski/feature/refresh-token

Feature/refresh token

Location:
iknow-api/Repository
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Repository/Implementations/UserRepository.cs

    re49c3ed rc2e73b6  
    2424            return await _context.User.FirstOrDefaultAsync(u => u.Email == username);
    2525        }
    26 
     26        public async Task<User?> GetOnlyUserByIdAsync(int id)
     27        {
     28            return await _context.User.FirstOrDefaultAsync(u => u.Id == id);
     29        }
    2730        public async Task AddUserAsync(User user)
    2831        {
  • iknow-api/Repository/Interface/IUserRepository.cs

    re49c3ed rc2e73b6  
    88        Task AddUserAsync(User user);
    99        Task<int> GetUsersCountAsync();
     10        Task<User?> GetOnlyUserByIdAsync(int id);
     11
    1012    }
    1113}
Note: See TracChangeset for help on using the changeset viewer.