Browse Source

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

pull/408/head
Cesar De la Torre 7 years ago
parent
commit
3218c1b54c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Order/OrderService.cs
  2. +1
    -1
      src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CheckoutViewModel.cs

+ 1
- 0
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Order/OrderService.cs 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


+ 1
- 1
src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CheckoutViewModel.cs 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


Loading…
Cancel
Save