C# 클래스 ModernWebStore.ApplicationService.OrderApplicationService

상속: ApplicationService, IOrderApplicationService
파일 보기 프로젝트 열기: andrebaltieri/mwa-api

공개 메소드들

메소드 설명
Cancel ( int id, string email ) : void
Create ( CreateOrderCommand command, string email ) : Order
Delivery ( int id, string email ) : void
Get ( string email, int skip, int take ) : List
GetCanceled ( string email ) : List
GetCreated ( string email ) : List
GetDelivered ( string email ) : List
GetDetails ( int id, string email ) : Order
GetPaid ( string email ) : List
OrderApplicationService ( IOrderRepository orderRepository, IUserRepository userRepository, IProductRepository productRepository, IUnitOfWork unitOfWork ) : System
Pay ( int id, string email ) : void

메소드 상세

Cancel() 공개 메소드

public Cancel ( int id, string email ) : void
id int
email string
리턴 void

Create() 공개 메소드

public Create ( CreateOrderCommand command, string email ) : Order
command ModernWebStore.Domain.Commands.OrderCommands.CreateOrderCommand
email string
리턴 ModernWebStore.Domain.Entities.Order

Delivery() 공개 메소드

public Delivery ( int id, string email ) : void
id int
email string
리턴 void

Get() 공개 메소드

public Get ( string email, int skip, int take ) : List
email string
skip int
take int
리턴 List

GetCanceled() 공개 메소드

public GetCanceled ( string email ) : List
email string
리턴 List

GetCreated() 공개 메소드

public GetCreated ( string email ) : List
email string
리턴 List

GetDelivered() 공개 메소드

public GetDelivered ( string email ) : List
email string
리턴 List

GetDetails() 공개 메소드

public GetDetails ( int id, string email ) : Order
id int
email string
리턴 ModernWebStore.Domain.Entities.Order

GetPaid() 공개 메소드

public GetPaid ( string email ) : List
email string
리턴 List

OrderApplicationService() 공개 메소드

public OrderApplicationService ( IOrderRepository orderRepository, IUserRepository userRepository, IProductRepository productRepository, IUnitOfWork unitOfWork ) : System
orderRepository IOrderRepository
userRepository IUserRepository
productRepository IProductRepository
unitOfWork IUnitOfWork
리턴 System

Pay() 공개 메소드

public Pay ( int id, string email ) : void
id int
email string
리턴 void