C# 클래스 ModernWebStore.ApplicationService.CategoryApplicationService

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

공개 메소드들

메소드 설명
CategoryApplicationService ( ICategoryRepository repository, IUnitOfWork unitOfWork ) : System
Create ( CreateCategoryCommand command ) : Category
Delete ( int id ) : Category
Get ( int id ) : Category
Get ( ) : List
Get ( int skip, int take ) : List
Update ( EditCategoryCommand command ) : Category

메소드 상세

CategoryApplicationService() 공개 메소드

public CategoryApplicationService ( ICategoryRepository repository, IUnitOfWork unitOfWork ) : System
repository ICategoryRepository
unitOfWork IUnitOfWork
리턴 System

Create() 공개 메소드

public Create ( CreateCategoryCommand command ) : Category
command ModernWebStore.Domain.Commands.CategoryCommands.CreateCategoryCommand
리턴 ModernWebStore.Domain.Entities.Category

Delete() 공개 메소드

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

Get() 공개 메소드

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

Get() 공개 메소드

public Get ( ) : List
리턴 List

Get() 공개 메소드

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

Update() 공개 메소드

public Update ( EditCategoryCommand command ) : Category
command ModernWebStore.Domain.Commands.CategoryCommands.EditCategoryCommand
리턴 ModernWebStore.Domain.Entities.Category