Ejemplo n.º 1
0
        public async Task <IActionResult> GetMemberAsync(Guid userId, Guid targetUserId, CancellationToken cancellationToken)
        {
            var member = await _userDataProvider.GetMemberProfileAsync(targetUserId, cancellationToken);

            if (member is null)
            {
                return(NotFound());
            }

            return(Ok(member));
        }