using Microsoft.eShopOnContainers.WebMVC.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebMVC.Models; namespace Microsoft.eShopOnContainers.WebMVC.Services { public interface IBasketService { Task GetBasket(ApplicationUser user); Task AddItemToBasket(ApplicationUser user, int productId); Task UpdateBasket(Basket basket); Task Checkout(BasketDTO basket); Task SetQuantities(ApplicationUser user, Dictionary quantities); Order MapBasketToOrder(Basket basket); } }