User dolgok javítása
This commit is contained in:
@@ -9,8 +9,21 @@ namespace WorkFlowCheck.BL.Services.Interfaces
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
Task<UserDTO> GetUser(int Id);
|
||||
Task<UserDTO> GetUserAsync(int Id);
|
||||
Task<List<UserDTO>> GetAllUserAsync();
|
||||
Task<UserDTO> UpdateUserAsync(UserDTO userDTO);
|
||||
Task<UserDTO> Authenticate(string UserName, string Password);
|
||||
|
||||
Task<RoleDTO> GetRoleAsync(int Id);
|
||||
Task<List<RoleDTO>> GetAllRoleAsync();
|
||||
Task<RoleDTO> UpdateRoleAsync(RoleDTO roleDTO);
|
||||
|
||||
Task<UserRoleDTO> GetUserRoleAsync(int Id);
|
||||
Task<List<UserRoleDTO>> GetAllUserRoleAsync();
|
||||
Task<UserRoleDTO> UpdateUserRoleAsync(RoleDTO roleDTO);
|
||||
|
||||
|
||||
|
||||
string GenerateJwtToken(UserDTO userDTO);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user