add "me" endpoint
This commit is contained in:
parent
98b38f645f
commit
ae1a8d2b97
7 changed files with 49 additions and 10 deletions
|
|
@ -5,6 +5,7 @@ namespace SurveyBackend.Core.Services;
|
|||
public interface IUserService
|
||||
{
|
||||
public Task<User> GetUserByEmail(string email);
|
||||
public Task<User> GetUserById(int id);
|
||||
public Task<bool> IsEmailTaken(string email);
|
||||
public Task CreateUserAsync(User user);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue