Fix merge issues with rebase.
This commit is contained in:
parent
4878101106
commit
d44bf27550
@ -43,7 +43,7 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
|
||||
[HttpDelete("{id}")]
|
||||
public Task Delete(string id)
|
||||
{
|
||||
return _repository.DeleteBasket(id);
|
||||
return _repository.DeleteBasketAsync(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Even
|
||||
{
|
||||
var itemsToUpdate = basket?.Items?.Where(x => int.Parse(x.ProductId) == productId).ToList();
|
||||
|
||||
if ((itemsToUpdate != null) && (itemsToUpdate.Any())
|
||||
if ((itemsToUpdate != null) && (itemsToUpdate.Any()))
|
||||
{
|
||||
foreach (var item in itemsToUpdate)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user