Initial commit
This commit is contained in:
21
Oqtane.Client/Services/IUserService.cs
Normal file
21
Oqtane.Client/Services/IUserService.cs
Normal file
@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user