Retail_manager/RMWPFInterfaceLibrary/Api/IUserEndPoint.cs

15 lines
412 B
C#
Raw Normal View History

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