This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Pavel Vesely 5b3feaf26f Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01: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);
}
}