Dynamic User Roles
This commit is contained in:
21
Oqtane.Client/Services/Interfaces/IRoleService.cs
Normal file
21
Oqtane.Client/Services/Interfaces/IRoleService.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using Oqtane.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface IRoleService
|
||||
{
|
||||
Task<List<Role>> GetRolesAsync();
|
||||
|
||||
Task<List<Role>> GetRolesAsync(int SiteId);
|
||||
|
||||
Task<Role> GetRoleAsync(int RoleId);
|
||||
|
||||
Task<Role> AddRoleAsync(Role Role);
|
||||
|
||||
Task<Role> UpdateRoleAsync(Role Role);
|
||||
|
||||
Task DeleteRoleAsync(int RoleId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user