|
Last change
on this file since f844b7e was e423ff3, checked in by GitHub <noreply@…>, 11 months ago |
|
Merge branch 'Dev' into feature/getUser
|
-
Property mode
set to
100644
|
|
File size:
568 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);
|
|---|
| [c0256f3] | 9 | Task AddContactAsync(ContactInfo contactInfo);
|
|---|
| 10 | Task AddEnrollmentAsync(EnrollmentInfo enrollment);
|
|---|
| 11 | Task AddHighSchoolAsync(HighSchool highSchool);
|
|---|
| [fc7b4b4] | 12 | Task<int> GetUsersCountAsync();
|
|---|
| [4f5d8fd] | 13 | Task<User> GetUserByIdAsync(int id);
|
|---|
| [1e58098] | 14 | Task<User?> GetOnlyUserByIdAsync(int id);
|
|---|
| 15 |
|
|---|
| [9694de9] | 16 | }
|
|---|
| 17 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.