|
Last change
on this file since 1e58098 was 1e58098, checked in by imbrsk <boris696boris@…>, 11 months ago |
|
added remaining methods to refreshtoken feature
|
-
Property mode
set to
100644
|
|
File size:
352 bytes
|
| Rev | Line | |
|---|
| [5eb7847] | 1 | using iknow_api.Models;
|
|---|
| [271178d] | 2 | namespace iknow_api.Repositories
|
|---|
| [9694de9] | 3 | {
|
|---|
| 4 | public interface IUserRepository
|
|---|
| 5 | {
|
|---|
| [fc7b4b4] | 6 | Task<bool> UserExistsAsync(string username);
|
|---|
| 7 | Task<User?> GetUserByUsernameAsync(string username);
|
|---|
| 8 | Task AddUserAsync(User user);
|
|---|
| 9 | Task<int> GetUsersCountAsync();
|
|---|
| [1e58098] | 10 | Task<User?> GetOnlyUserByIdAsync(int id);
|
|---|
| 11 |
|
|---|
| [9694de9] | 12 | }
|
|---|
| 13 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.