C# Class SampleWebApp.Controllers.TagsController

Inheritance: Controller
Exibir arquivo Open project: JonPSmith/SampleMvcWebApp

Public Methods

Method Description
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

Private Methods

Method Description
Create ( Tag tag, ICreateService service ) : System.Web.Mvc.ActionResult
Edit ( Tag tag, IUpdateService service ) : System.Web.Mvc.ActionResult

Method Details

CodeView() public method

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

Create() public method

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

Delete() public method

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

Details() public method

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

Edit() public method

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

Index() public method

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
return System.Web.Mvc.ActionResult