roles endpoints clients

This commit is contained in:
2024-10-06 23:16:53 +02:00
Unverified
parent eb8d87dfe6
commit dcc86b4e9e
11 changed files with 261 additions and 14 deletions

View File

@@ -37,6 +37,7 @@ public class RolesController : ControllerBase
[HttpGet("actor/{id}")]
[AllowAnonymous]
[ProducesResponseType(typeof(IEnumerable<ActorRoleResponse>), StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<ActionResult> GetActorRole([FromRoute]Guid id) => await _rolesControllerService.GetActorRole(id);
[HttpPut("actor/{id}")]