2022-08-20 14:23:25 +02:00
|
|
|
|
using RMWPFInterfaceLibrary.Models;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace RMWPFInterfaceLibrary.Api
|
|
|
|
|
{
|
|
|
|
|
public interface IUserEndPoint
|
|
|
|
|
{
|
|
|
|
|
Task<List<UserModel>> GetAll();
|
2022-08-22 00:12:27 +02:00
|
|
|
|
Task<Dictionary<string, string>> GetAllRoles();
|
|
|
|
|
Task AddUserToRole(string userId, string roleName);
|
|
|
|
|
Task RemoveUserFromRole(string userId, string roleName);
|
|
|
|
|
|
2022-08-20 14:23:25 +02:00
|
|
|
|
}
|
|
|
|
|
}
|