示例#1
0
        public async Task <ActionResult <UserDto> > GetByIdAsync(Guid id)
        {
            if (await _validationService.UserExists(id))
            {
                return(Ok(await _userService.GetByIdAsync(id)));
            }

            return(NotFound());
        }