C# Class EmployeeManager.Domain.EmployeeCommandExecutors

Datei anzeigen Open project: ashic/SingleFileCqrs Class Usage Examples

Public Methods

Method Description
EmployeeCommandExecutors ( IRepository repo ) : System
Handle ( ChangeEmployeeNameCommand command ) : void
Handle ( CreateEmployeeCommand command ) : void

Method Details

EmployeeCommandExecutors() public method

public EmployeeCommandExecutors ( IRepository repo ) : System
repo IRepository
return System

Handle() public method

public Handle ( ChangeEmployeeNameCommand command ) : void
command ChangeEmployeeNameCommand
return void

Handle() public method

public Handle ( CreateEmployeeCommand command ) : void
command CreateEmployeeCommand
return void