oqtane.framework/Oqtane.Server/Repository/Interfaces/IRoleRepository.cs
2020-04-03 17:18:33 -04:00

16 lines
412 B
C#

using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository.Interfaces
{
public interface IRoleRepository
{
IEnumerable<Role> GetRoles(int siteId);
IEnumerable<Role> GetRoles(int siteId, bool includeGlobalRoles);
Role AddRole(Role role);
Role UpdateRole(Role role);
Role GetRole(int roleId);
void DeleteRole(int roleId);
}
}