public async Task <IEnumerable <ManagerUser> > GetAsync(ManagerUser managerUser) { var host = GetHost(managerUser); try { var result = await _httpClinet.GetStringAsync($"http://{host}:{managerUser.Manager.Port}/{controller}/{managerUser.Name}/{managerUser.Token}"); var users = UserDto.FromJsonCollection(result); return(users.Select(u => ManagerUser.Parse(u, managerUser.Manager)).ToList()); } catch (HttpRequestException ex) { return(null); } }