You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
428 B
13 lines
428 B
using Microsoft.eShopWeb.ViewModels;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ApplicationCore.Interfaces
|
|
{
|
|
public interface IBasketService
|
|
{
|
|
Task<BasketViewModel> GetOrCreateBasketForUser(string userName);
|
|
Task TransferBasket(string anonymousId, string userName);
|
|
Task AddItemToBasket(int basketId, int catalogItemId, decimal price, int quantity);
|
|
Task Checkout(int basketId);
|
|
}
|
|
}
|
|
|