コード例 #1
0
        public async Task <UserRoleAdditionResponse> Handle(AddUserRoleRequest request, CancellationToken cancellationToken)
        {
            var result = await _authenticationService.AddRoleToUser(request.UserId, request.RoleId);

            return(result);
        }