C# Class SignetSSRProject.Controllers.EmployeeController

Inheritance: Controller
显示文件 Open project: SignetSSRTeam/SignetSSR_MVC

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( string FirstName, string LastName ) : System.Web.Mvc.ActionResult
getWageHistory ( int id ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( [ Include = "EmployeeID,FirstName,LastName,JobTitle,Supervisor,ContractLabor,WageRateRT,WageRateOT,HomePhone,CellPhone,Address,EmailAddress,Notes")]EmployeeViewModelemployeeViewModel ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
DeleteWageHistoryData ( WageHistory wageHistory ) : System.Web.Mvc.ContentResult
Edit ( [ Include = "EmployeeID,FirstName,LastName,JobTitle,Supervisor,ContractLabor,HomePhone,CellPhone,Address,EmailAddress,Notes")]Employeeemployee ) : System.Web.Mvc.ActionResult
InsertWageHistoryData ( WageHistory wageHistory ) : System.Web.Mvc.ContentResult
UpdateWageHistoryData ( WageHistory wageHistory ) : System.Web.Mvc.ContentResult
WageHistoryData ( int employeeID ) : System.Web.Mvc.ContentResult

Method Details

Create() public method

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

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( string FirstName, string LastName ) : System.Web.Mvc.ActionResult
FirstName string
LastName string
return System.Web.Mvc.ActionResult

getWageHistory() public method

public getWageHistory ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult