C# Класс MvcApp.Controllers.EmployeeWCFController

The employee WCF controller.
Get data from WCF Service
Наследование: Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged resources and optionally releases managed resources.

Приватные методы

Метод Описание
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

Описание методов

Create() публичный Метод

The create.
public Create ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

Delete() публичный Метод

The delete.
public Delete ( int id ) : System.Web.Mvc.ActionResult
id int /// The id. ///
Результат System.Web.Mvc.ActionResult

Details() публичный Метод

The details.
public Details ( int id ) : System.Web.Mvc.ViewResult
id int /// The id. ///
Результат System.Web.Mvc.ViewResult

Dispose() защищенный Метод

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.
Результат void

Edit() публичный Метод

The edit.
public Edit ( int id ) : System.Web.Mvc.ActionResult
id int /// The id. ///
Результат System.Web.Mvc.ActionResult

EmployeeWCFController() публичный Метод

Initializes a new instance of the EmployeeController class.
public EmployeeWCFController ( IEmployeeBoService _serviceClient ) : System.Linq
_serviceClient IEmployeeBoService /// The _service client. ///
Результат System.Linq

Index() публичный Метод

The index.
public Index ( ) : System.Web.Mvc.ViewResult
Результат System.Web.Mvc.ViewResult