|
Last change
on this file since 9a57e89 was 9a57e89, checked in by imbrsk <boris696boris@…>, 11 months ago |
|
Refactor user management: update models, repositories, and services; remove obsolete files
|
-
Property mode
set to
100644
|
|
File size:
460 bytes
|
| Line | |
|---|
| 1 | using System.Threading;
|
|---|
| 2 | using System.Threading.Tasks;
|
|---|
| 3 | using iknow_api.Core.Models;
|
|---|
| 4 |
|
|---|
| 5 | namespace iknow_api.Repository.Interfaces
|
|---|
| 6 | {
|
|---|
| 7 | public interface IUserRepository
|
|---|
| 8 | {
|
|---|
| 9 | Task<bool> EmailExistsAsync(string email, CancellationToken cancellationToken = default);
|
|---|
| 10 | Task<User> AddUserAsync(User user, CancellationToken cancellationToken = default);
|
|---|
| 11 | Task<User?> GetUserByIdAsync(int id, CancellationToken cancellationToken = default);
|
|---|
| 12 | }
|
|---|
| 13 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.