Fix merge issues with rebase.

This commit is contained in:
BillWagner 2017-05-03 10:58:23 -04:00 committed by Bill Wagner
parent 4878101106
commit d44bf27550
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}

View File

@ -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)
{