minor code rearange, quantity as optional parameter, removed some unused fields
This commit is contained in:
1 parent
8ccc87d7e9
commit
d422c42c24
4 files changed
+4
-8
No files matched your search
@@ -7,7 +7,7 @@ namespace Microsoft.eShopWeb.ApplicationCore.Interfaces
|
||||
{
|
||||
Task<int> GetBasketItemCountAsync(string userName);
|
||||
Task TransferBasketAsync(string anonymousId, string userName);
|
||||
Task AddItemToBasket(int basketId, int catalogItemId, decimal price, int quantity);
|
||||
Task AddItemToBasket(int basketId, int catalogItemId, decimal price, int quantity = 1);
|
||||
Task SetQuantities(int basketId, Dictionary<string, int> quantities);
|
||||
Task DeleteBasketAsync(int basketId);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user