oqtane.framework/Oqtane.Server/Repository/Interfaces/IRoleRepository.cs
2020-04-04 14:06:24 -04:00

16 lines
401 B
C#

using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
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);
}
}