source: iknow-api/Repository/Interface/IUserRepository.cs@ c155364

Last change on this file since c155364 was c155364, checked in by imbrsk <boris696boris@…>, 11 months ago

added remaining methods to refreshtoken feature

  • Property mode set to 100644
File size: 352 bytes
Line 
1using iknow_api.Models;
2namespace iknow_api.Repositories
3{
4 public interface IUserRepository
5 {
6 Task<bool> UserExistsAsync(string username);
7 Task<User?> GetUserByUsernameAsync(string username);
8 Task AddUserAsync(User user);
9 Task<int> GetUsersCountAsync();
10 Task<User?> GetOnlyUserByIdAsync(int id);
11
12 }
13}
Note: See TracBrowser for help on using the repository browser.