Method | Description | |
---|---|---|
BasketViewModelService ( IAsyncRepository basketRepository, IAsyncRepository itemRepository, IUriComposer uriComposer ) : Microsoft.eShopWeb.ApplicationCore.Entities | ||
GetOrCreateBasketForUser ( string userName ) : Task |
Method | Description | |
---|---|---|
CreateBasketForUser ( string userId ) : Task |
||
CreateViewModelFromBasket ( Basket basket ) : Task |
||
GetBasketItems ( IReadOnlyCollection basketItems ) : Task
|
public BasketViewModelService ( IAsyncRepository basketRepository, IAsyncRepository itemRepository, IUriComposer uriComposer ) : Microsoft.eShopWeb.ApplicationCore.Entities | ||
basketRepository | IAsyncRepository | |
itemRepository | IAsyncRepository | |
uriComposer | IUriComposer | |
return | Microsoft.eShopWeb.ApplicationCore.Entities |
public GetOrCreateBasketForUser ( string userName ) : Task |
||
userName | string | |
return | Task |