Skip to content

Commit 299a3b7

Browse files
David BritchDavid Britch
authored andcommitted
Formatting changes.
1 parent 3bcb357 commit 299a3b7

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

  • src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Basket

src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Basket/BasketService.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ public BasketService(IRequestProvider requestProvider)
1616
}
1717

1818
public async Task<CustomerBasket> GetBasketAsync(string guidUser, string token)
19-
{
20-
19+
{
2120
UriBuilder builder = new UriBuilder(GlobalSetting.Instance.BasketEndpoint);
2221

2322
builder.Path = guidUser;
@@ -30,18 +29,17 @@ public async Task<CustomerBasket> GetBasketAsync(string guidUser, string token)
3029
ServicesHelper.FixBasketItemPictureUri(basket?.Items);
3130

3231
return basket;
33-
3432
}
3533

3634
public async Task<CustomerBasket> UpdateBasketAsync(CustomerBasket customerBasket, string token)
3735
{
38-
UriBuilder builder = new UriBuilder(GlobalSetting.Instance.BasketEndpoint);
36+
UriBuilder builder = new UriBuilder(GlobalSetting.Instance.BasketEndpoint);
3937

40-
string uri = builder.ToString();
38+
string uri = builder.ToString();
4139

42-
var result = await _requestProvider.PostAsync(uri, customerBasket, token);
40+
var result = await _requestProvider.PostAsync(uri, customerBasket, token);
4341

44-
return result;
42+
return result;
4543
}
4644

4745
public async Task ClearBasketAsync(string guidUser, string token)

0 commit comments

Comments
 (0)