Added a new policy to require being an admin. Implemented ability to delete a user.
This commit is contained in:
parent
bb276a5984
commit
f0919042b0
6 changed files with 44 additions and 5 deletions
|
|
@ -15,5 +15,6 @@ namespace API.Interfaces
|
|||
Task<AppUser> GetUserByUsernameAsync(string username);
|
||||
Task<IEnumerable<MemberDto>> GetMembersAsync();
|
||||
Task<MemberDto> GetMemberAsync(string username);
|
||||
public void Delete(AppUser user);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue