15 lines
412 B
C#
15 lines
412 B
C#
using RMWPFInterfaceLibrary.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RMWPFInterfaceLibrary.Api
|
|
{
|
|
public interface IUserEndPoint
|
|
{
|
|
Task<List<UserModel>> GetAll();
|
|
Task<Dictionary<string, string>> GetAllRoles();
|
|
Task AddUserToRole(string userId, string roleName);
|
|
Task RemoveUserFromRole(string userId, string roleName);
|
|
|
|
}
|
|
} |