Dynamic User Roles
This commit is contained in:
15
Oqtane.Server/Repository/Interfaces/IUserRoleRepository.cs
Normal file
15
Oqtane.Server/Repository/Interfaces/IUserRoleRepository.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IUserRoleRepository
|
||||
{
|
||||
IEnumerable<UserRole> GetUserRoles();
|
||||
IEnumerable<UserRole> GetUserRoles(int UserId);
|
||||
UserRole AddUserRole(UserRole UserRole);
|
||||
UserRole UpdateUserRole(UserRole UserRole);
|
||||
UserRole GetUserRole(int UserRoleId);
|
||||
void DeleteUserRole(int UserRoleId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user