2016-10-21 05:46:30 +02:00
|
|
|
|
using Microsoft.eShopOnContainers.WebMVC.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.eShopOnContainers.WebMVC.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderingService
|
|
|
|
|
{
|
2016-10-31 17:56:24 +01:00
|
|
|
|
List<Order> GetMyOrders(ApplicationUser user);
|
2016-11-03 17:17:26 +01:00
|
|
|
|
Order GetOrder(ApplicationUser user, string orderId);
|
|
|
|
|
void CreateOrder(ApplicationUser user, Order order);
|
|
|
|
|
Order MapUserInfoIntoOrder(ApplicationUser user, Order order);
|
|
|
|
|
void OverrideUserInfoIntoOrder(Order original, Order destination);
|
2016-10-21 05:46:30 +02:00
|
|
|
|
}
|
|
|
|
|
}
|