private async Task HandleUserLinkResponse(string link, HttpResponseMessage responseMessage) { _lastDocument = await responseMessage.Content.ReadAsGithubDocumentAsync(_linkFactory); _currentUser = UserLink.InterpretMessageBody(_lastDocument); }
private async Task HandleUserLinkResponse(Link link, HttpResponseMessage responseMessage) { _lastDocument = await responseMessage.Content.ReadAsGithubDocumentAsync(_linkFactory); _currentUser = UserLink.InterpretResponse(_lastDocument); }