order
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application;
|
||||
using Webshop.Application.DTOs.Orders;
|
||||
|
||||
namespace Webshop.Application.Services.Customers
|
||||
{
|
||||
public interface IOrderService
|
||||
{
|
||||
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);
|
||||
Task<ServiceResult<IEnumerable<OrderSummaryDto>>> GetMyOrdersAsync(string userId);
|
||||
Task<ServiceResult<OrderDetailDto>> GetMyOrderByIdAsync(Guid orderId, string userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user