Fixed bug in Xamarin code when mapping from Order to Basket, method MapOrderToBasket(), in order to submit to the Basket microservice.

This commit is contained in:
Cesar De la Torre 2017-10-31 21:55:04 -07:00
parent 2137a208dd
commit 3218c1b54c
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ namespace eShopOnContainers.Core.Services.Order
CardSecurityNumber = order.CardSecurityNumber,
CardTypeId = order.CardTypeId,
City = order.ShippingCity,
State = order.ShippingState,
Country = order.ShippingCountry,
ZipCode = order.ShippingZipCode,
Street = order.ShippingStreet

View File

@ -165,7 +165,7 @@ namespace eShopOnContainers.Core.ViewModels
await NavigationService.RemoveLastFromBackStackAsync();
// Show Dialog
await DialogService.ShowAlertAsync("Order sent successfully!", string.Format("Order {0}", Order.OrderNumber), "Ok");
await DialogService.ShowAlertAsync("Order sent successfully!", "Checkout", "Ok");
await NavigationService.RemoveLastFromBackStackAsync();
}
catch