C# Class EmployeeManager.Domain.EmployeeCommandExecutors

Afficher le fichier Open project: ashic/SingleFileCqrs Class Usage Examples

Méthodes publiques

Méthode Description
EmployeeCommandExecutors ( IRepository repo ) : System
Handle ( ChangeEmployeeNameCommand command ) : void
Handle ( CreateEmployeeCommand command ) : void

Method Details

EmployeeCommandExecutors() public méthode

public EmployeeCommandExecutors ( IRepository repo ) : System
repo IRepository
Résultat System

Handle() public méthode

public Handle ( ChangeEmployeeNameCommand command ) : void
command ChangeEmployeeNameCommand
Résultat void

Handle() public méthode

public Handle ( CreateEmployeeCommand command ) : void
command CreateEmployeeCommand
Résultat void