mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-01-19 02:24:19 +01:00
26 lines
863 B
C#
26 lines
863 B
C#
using DotBased.AspNet.Authority.Models.Authority;
|
|
|
|
namespace DotBased.AspNet.Authority.Managers;
|
|
|
|
public partial class AuthorityManager
|
|
{
|
|
public async Task<Result<AuthorityRole>> CreateRoleAsync(AuthorityRole role, CancellationToken? cancellationToken = null)
|
|
{
|
|
return Result<AuthorityRole>.Failed("Not implemented!");
|
|
}
|
|
|
|
public async Task<Result> DeleteRoleAsync(AuthorityRole role, CancellationToken? cancellationToken = null)
|
|
{
|
|
return Result.Failed("Not implemented!");
|
|
}
|
|
|
|
public async Task<Result<AuthorityRole>> UpdateRoleAsync(AuthorityRole role, CancellationToken? cancellationToken = null)
|
|
{
|
|
return Result<AuthorityRole>.Failed("Not implemented!");
|
|
}
|
|
|
|
public async Task AddUserToRole(AuthorityUser user, AuthorityRole role, CancellationToken? cancellationToken = null)
|
|
{
|
|
|
|
}
|
|
} |