C# Класс SampleWebApp.Controllers.TagsController

Наследование: Controller
Показать файл Открыть проект

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

Метод Описание
CodeView ( ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult
Details ( int id, IDetailService service ) : System.Web.Mvc.ActionResult
Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult
Index ( IListService service ) : System.Web.Mvc.ActionResult

This is an example of a Controller using GenericServices database commands directly to the data class (other that List, which needs a DTO) In this case we are using normal, non-async commands

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

Метод Описание
Create ( Tag tag, ICreateService service ) : System.Web.Mvc.ActionResult
Edit ( Tag tag, IUpdateService service ) : System.Web.Mvc.ActionResult

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

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

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

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

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

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

public Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult
id int
service IDeleteService
Результат System.Web.Mvc.ActionResult

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

public Details ( int id, IDetailService service ) : System.Web.Mvc.ActionResult
id int
service IDetailService
Результат System.Web.Mvc.ActionResult

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

public Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult
id int
service IUpdateSetupService
Результат System.Web.Mvc.ActionResult

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

This is an example of a Controller using GenericServices database commands directly to the data class (other that List, which needs a DTO) In this case we are using normal, non-async commands
public Index ( IListService service ) : System.Web.Mvc.ActionResult
service IListService
Результат System.Web.Mvc.ActionResult