oqtane.framework/Oqtane.Client/Services/Interfaces/IRoleService.cs
Pavel Vesely cf6643aef3 Client fixes
Client is partially done.
227 warnings left out of 1500
I like Rider
2020-03-15 15:19:35 +01:00

20 lines
399 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<Role> GetRoleAsync(int roleId);
Task<Role> AddRoleAsync(Role role);
Task<Role> UpdateRoleAsync(Role role);
Task DeleteRoleAsync(int roleId);
}
}