Interface IRoleRepository
- Namespace
- Oqtane.Repository
- Assembly
- Oqtane.Server.dll
public interface IRoleRepository
Methods
AddRole(Role)
Parameters
role
Role
Returns
- Role
DeleteRole(int)
void DeleteRole(int roleId)
Parameters
roleId
int
GetRole(int)
Parameters
roleId
int
Returns
- Role
GetRole(int, bool)
Role GetRole(int roleId, bool tracking)
Parameters
roleId
int
tracking
bool
Returns
- Role
GetRoles(int)
IEnumerable<Role> GetRoles(int siteId)
Parameters
siteId
int
Returns
- IEnumerable<Role>
GetRoles(int, bool)
IEnumerable<Role> GetRoles(int siteId, bool includeGlobalRoles)
Parameters
siteId
int
includeGlobalRoles
bool
Returns
- IEnumerable<Role>
UpdateRole(Role)
Role UpdateRole(Role role)
Parameters
role
Role
Returns
- Role