using ShopOnline.Api.Entities; using ShopOnline.Models.Dtos; namespace ShopOnline.Api.Repositories.Contracts { public interface IShoppingCartRepository { Task AddItem(CartItemToAddDto cartItemToAddDto); Task UpdateQuantity(int id, CartItemQuantityUpdateDto cartItemQuantityUpdateDto); Task DeleteItem(int id); Task GetItem(int id); Task> GetItems(int userId); } }