cleanup
This commit is contained in:
parent
34e2e19269
commit
3f560757a4
@ -61,7 +61,17 @@ namespace eShopOnContainers.Core.Services.Basket
|
|||||||
|
|
||||||
public Task CheckoutAsync(BasketCheckout basketCheckout, string token)
|
public Task CheckoutAsync(BasketCheckout basketCheckout, string token)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
if (string.IsNullOrEmpty(token))
|
||||||
|
{
|
||||||
|
return Task.FromResult(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (basketCheckout != null)
|
||||||
|
{
|
||||||
|
MockCustomBasket.Items.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
return Task.FromResult(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -60,6 +60,8 @@
|
|||||||
TargetType="{x:Type Button}">
|
TargetType="{x:Type Button}">
|
||||||
<Setter Property="TextColor"
|
<Setter Property="TextColor"
|
||||||
Value="{StaticResource WhiteColor}" />
|
Value="{StaticResource WhiteColor}" />
|
||||||
|
<Setter Property="BackgroundColor"
|
||||||
|
Value="{StaticResource LightGreenColor}" />
|
||||||
|
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
@ -114,10 +116,9 @@
|
|||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
IsVisible="{Binding IsSubmittedOrder}">
|
IsVisible="{Binding IsSubmittedOrder}">
|
||||||
<Button
|
<Button
|
||||||
BackgroundColor="{StaticResource LightGreenColor}"
|
Command="{Binding ToggleCancelOrderCommand}"
|
||||||
Command="{Binding ToggleCancelOrderCommand}"
|
Text="CANCEL ORDER"
|
||||||
Text="CANCEL ORDER"
|
Style="{StaticResource CancelOrderButtonStyle}">
|
||||||
Style="{StaticResource CancelOrderButtonStyle}">
|
|
||||||
</Button>
|
</Button>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
|
Loading…
x
Reference in New Issue
Block a user