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