C# Class MvcApp.Controllers.EmployeeWCFController

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged resources and optionally releases managed resources.

Private Methods

Méthode 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 méthode

The create.
public Create ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Delete() public méthode

The delete.
public Delete ( int id ) : System.Web.Mvc.ActionResult
id int /// The id. ///
Résultat System.Web.Mvc.ActionResult

Details() public méthode

The details.
public Details ( int id ) : System.Web.Mvc.ViewResult
id int /// The id. ///
Résultat System.Web.Mvc.ViewResult

Dispose() protected méthode

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.
Résultat void

Edit() public méthode

The edit.
public Edit ( int id ) : System.Web.Mvc.ActionResult
id int /// The id. ///
Résultat System.Web.Mvc.ActionResult

EmployeeWCFController() public méthode

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

Index() public méthode

The index.
public Index ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult