source: iknow-api/Services/Interfaces/IUserService.cs@ fc7b4b4

Last change on this file since fc7b4b4 was 9694de9, 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: 351 bytes
Line 
1using System.Threading;
2using System.Threading.Tasks;
3using iknow_api.Core.Models;
4
5namespace iknow_api.Core.Interfaces
6{
7 public interface IUserService
8 {
9 Task<User> AddUserAsync(User user, CancellationToken cancellationToken = default);
10 Task<int> GetUserByIdAsync(int id, CancellationToken cancellationToken = default);
11 }
12}
Note: See TracBrowser for help on using the repository browser.