C# Class MvcApp.Controllers.EmployeeWCFController

The employee WCF controller.
Get data from WCF Service
Inheritance: Controller
Datei anzeigen Open project: megadotnet/ironframework Class Usage Examples

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult

The create.

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

The delete.

Details ( int id ) : System.Web.Mvc.ViewResult

The details.

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

The edit.

EmployeeWCFController ( IEmployeeBoService _serviceClient ) : System.Linq

Initializes a new instance of the EmployeeController class.

Index ( ) : System.Web.Mvc.ViewResult

The index.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged resources and optionally releases managed resources.

Private Methods

Method Description
Create ( ServicePoxry employee ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( ServicePoxry employee ) : System.Web.Mvc.ActionResult
GetTitle ( string term ) : System.Web.Mvc.JsonResult

GetTitle for Autocomplete

Method Details

Create() public method

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

Delete() public method

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

Details() public method

The details.
public Details ( int id ) : System.Web.Mvc.ViewResult
id int /// The id. ///
return System.Web.Mvc.ViewResult

Dispose() protected method

Releases unmanaged resources and optionally releases managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Edit() public method

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

EmployeeWCFController() public method

Initializes a new instance of the EmployeeController class.
public EmployeeWCFController ( IEmployeeBoService _serviceClient ) : System.Linq
_serviceClient IEmployeeBoService /// The _service client. ///
return System.Linq

Index() public method

The index.
public Index ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult