C# Class ModernWebStore.ApplicationService.CategoryApplicationService

Inheritance: ApplicationService, ICategoryApplicationService
Afficher le fichier Open project: andrebaltieri/mwa-api

Méthodes publiques

Méthode Description
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

Method Details

CategoryApplicationService() public méthode

public CategoryApplicationService ( ICategoryRepository repository, IUnitOfWork unitOfWork ) : System
repository ICategoryRepository
unitOfWork IUnitOfWork
Résultat System

Create() public méthode

public Create ( CreateCategoryCommand command ) : Category
command ModernWebStore.Domain.Commands.CategoryCommands.CreateCategoryCommand
Résultat ModernWebStore.Domain.Entities.Category

Delete() public méthode

public Delete ( int id ) : Category
id int
Résultat ModernWebStore.Domain.Entities.Category

Get() public méthode

public Get ( int id ) : Category
id int
Résultat ModernWebStore.Domain.Entities.Category

Get() public méthode

public Get ( ) : List
Résultat List

Get() public méthode

public Get ( int skip, int take ) : List
skip int
take int
Résultat List

Update() public méthode

public Update ( EditCategoryCommand command ) : Category
command ModernWebStore.Domain.Commands.CategoryCommands.EditCategoryCommand
Résultat ModernWebStore.Domain.Entities.Category