Retail_manager/RMWPFInterfaceLibrary/Api/IUserEndPoint.cs
2022-08-22 00:12:27 +02:00

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);
}
}