order
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user