C# Class EmployeeManager.Controllers.HomeController

Inheritance: Controller
Exibir arquivo Open project: ashic/SingleFileCqrs

Public Methods

Method Description
HomeController ( ) : System
HomeController ( ICommandService service, IDocumentStore store ) : System
Index ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddEmployee ( CreateEmployeeCommand command ) : System.Web.Mvc.ActionResult
ChangeEmployeeName ( ChangeEmployeeNameCommand command ) : System.Web.Mvc.ActionResult
GetAll ( ) : System.Web.Mvc.ActionResult
GetEmployee ( string id ) : System.Web.Mvc.ActionResult

Method Details

HomeController() public method

public HomeController ( ) : System
return System

HomeController() public method

public HomeController ( ICommandService service, IDocumentStore store ) : System
service ICommandService
store IDocumentStore
return System

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult