public IHttpActionResult SearchUsersForFamily([FromUri] string text) { var result = _userQueryService.Find(text); return(Ok( result.Select(x => new { userId = x.UserId, name = $"{x.FirstName} {x.LastName}", email = x.Account.Email }))); }