ShopOnlineSolution/ShopOnline.Web/Services/Contracts/IShoppingCartService.cs

12 lines
306 B
C#

using ShopOnline.Models.Dtos;
namespace ShopOnline.Web.Services.Contracts
{
public interface IShoppingCartService
{
Task<List<CartItemDto>> GetItems(int userId);
Task<CartItemDto> AddItem(CartItemToAddDto cartItemToAddDto);
Task<CartItemDto> DeleteItem(int id);
}
}