This commit is contained in:
Tizian.Breuch
2025-07-31 16:37:35 +02:00
parent 2d93fda7e9
commit 3858375b66
9 changed files with 290 additions and 3349 deletions

View File

@@ -1,16 +1,15 @@
// Auto-generiert von CreateWebshopFiles.ps1
// src/Webshop.Application/Services/Customers/IOrderService.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs;
using Webshop.Application.DTOs.Auth;
using Webshop.Application.DTOs.Users;
using Webshop.Application.DTOs.Orders;
namespace Webshop.Application.Services.Customers.Interfaces
namespace Webshop.Application.Services.Customers
{
public interface IOrderService
{
// Fügen Sie hier Methodensignaturen hinzu
Task<(bool Success, OrderDetailDto? CreatedOrder, string? ErrorMessage)> CreateOrderAsync(CreateOrderDto orderDto, string userId);
Task<IEnumerable<OrderSummaryDto>> GetMyOrdersAsync(string userId);
Task<OrderDetailDto?> GetMyOrderByIdAsync(Guid orderId, string userId);
}
}
}