oqtane.framework/Oqtane.Server/Repository/Interfaces/IRoleRepository.cs
2019-08-20 16:43:35 -04:00

16 lines
366 B
C#

using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
public interface IRoleRepository
{
IEnumerable<Role> GetRoles();
IEnumerable<Role> GetRoles(int SiteId);
Role AddRole(Role Role);
Role UpdateRole(Role Role);
Role GetRole(int RoleId);
void DeleteRole(int RoleId);
}
}