public async Task <IActionResult> Add(AddRoleCommand command, CancellationToken cancellationToken = default)
        {
            var roleId = await authorizationAppService.AddRole(command, cancellationToken);

            return(Ok(roleId));
        }
 public void AddRole_ThrowException_If_CommandIsNUll()
 {
     Assert.ThrowsAsync <ArgumentNullException>(async() =>
                                                await authorizationAppService.AddRole(null, CancellationToken.None));
 }