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.
2021-04-23 16:11:35 -04:00

22 lines
474 B
C#

using Oqtane.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Oqtane.Services
{
public interface IRoleService
{
Task<List<Role>> GetRolesAsync(int siteId);
Task<List<Role>> GetRolesAsync(int siteId, bool includeGlobalRoles);
Task<Role> GetRoleAsync(int roleId);
Task<Role> AddRoleAsync(Role role);
Task<Role> UpdateRoleAsync(Role role);
Task DeleteRoleAsync(int roleId);
}
}