Created
January 17, 2018 14:22
-
-
Save jbogard/cc879d4cf5e6ec27666c2ea33e2a7267 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task Append(dynamic viewModel, RouteData routeData, IQueryCollection query) | |
{ | |
var id = (string)routeData.Values["id"]; | |
var response = await new HttpClient().GetAsync(url); | |
dynamic shipment = await response.Content.AsExpandoAsync(); | |
viewModel.ShippingStatus = shipment.Status; | |
viewModel.ShippingCourier = shipment.Courier; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment