cart
Some checks failed
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Failing after 20s
Some checks failed
Branch - test - Build and Push Backend API Docker Image / build-and-push (push) Failing after 20s
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application.DTOs.Shipping; // Für CartItemDto
|
||||
using Webshop.Application; // Für ServiceResult
|
||||
|
||||
namespace Webshop.Application.Services.Customers.Interfaces
|
||||
{
|
||||
public interface ICartService
|
||||
{
|
||||
Task<ServiceResult<CartDto>> GetCartAsync(string userId);
|
||||
Task<ServiceResult> AddToCartAsync(string userId, CartItemDto item);
|
||||
Task<ServiceResult> RemoveFromCartAsync(string userId, Guid productId);
|
||||
Task ClearCartAsync(string userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user