C# 클래스 ModernWebStore.ApplicationService.ProductApplicationService

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

공개 메소드들

메소드 설명
Create ( CreateProductCommand command ) : Product
Delete ( int id ) : Product
Get ( ) : List
Get ( int skip, int take ) : List
Get ( int id ) : Product
GetOutOfStock ( ) : List
ProductApplicationService ( IProductRepository repository, IUnitOfWork unitOfWork ) : System.Collections.Generic
UpdateBasicInformation ( UpdateProductInfoCommand command ) : Product

메소드 상세

Create() 공개 메소드

public Create ( CreateProductCommand command ) : Product
command ModernWebStore.Domain.Commands.ProductCommands.CreateProductCommand
리턴 ModernWebStore.Domain.Entities.Product

Delete() 공개 메소드

public Delete ( int id ) : Product
id int
리턴 ModernWebStore.Domain.Entities.Product

Get() 공개 메소드

public Get ( ) : List
리턴 List

Get() 공개 메소드

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

Get() 공개 메소드

public Get ( int id ) : Product
id int
리턴 ModernWebStore.Domain.Entities.Product

GetOutOfStock() 공개 메소드

public GetOutOfStock ( ) : List
리턴 List

ProductApplicationService() 공개 메소드

public ProductApplicationService ( IProductRepository repository, IUnitOfWork unitOfWork ) : System.Collections.Generic
repository IProductRepository
unitOfWork IUnitOfWork
리턴 System.Collections.Generic

UpdateBasicInformation() 공개 메소드

public UpdateBasicInformation ( UpdateProductInfoCommand command ) : Product
command ModernWebStore.Domain.Commands.ProductCommands.UpdateProductInfoCommand
리턴 ModernWebStore.Domain.Entities.Product