Revize a9acbe07
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Services/UserService/IUserService.cs | ||
---|---|---|
15 | 15 |
public User? GetUserByUsername(string username); |
16 | 16 |
public User? GetUserById(Guid id); |
17 | 17 |
public User UpdateUser(User user, string? username = null, string? name = null, string? surname = null, ERole? role = null); |
18 |
public User? UpdateUser(Guid userId, string? username = null, string? name = null, string? surname = null, ERole? role = null); |
|
18 | 19 |
public User ChangePassword(User user, string newPassword); |
20 |
public User? ChangePassword(Guid userId, string newPassword); |
|
19 | 21 |
public User? CheckUsernamePassword(string username, string password); |
20 | 22 |
public UserList GetUsers(); |
21 | 23 |
} |
Také k dispozici: Unified diff
Created endpoint for changing user information