public async Task <ActionResult <UserDto> > GetByIdAsync(Guid id) { if (await _validationService.UserExists(id)) { return(Ok(await _userService.GetByIdAsync(id))); } return(NotFound()); }