oqtane.framework/Oqtane.Client/Services/IUserService.cs
2019-05-04 20:32:08 -04:00

22 lines
442 B
C#

using Oqtane.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Oqtane.Services
{
public interface IUserService
{
Task<List<User>> GetUsersAsync();
Task<User> GetUserAsync(int UserId);
Task AddUserAsync(User user);
Task UpdateUserAsync(User user);
Task DeleteUserAsync(int UserId);
bool IsAuthorized(User user, string accesscontrollist);
}
}