C# Class SampleWebApp.Controllers.TagsAsyncController

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 async commands
Inheritance: Controller
Show file Open project: JonPSmith/SampleMvcWebApp

Public Methods

Method Description
CodeView ( ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id, IDeleteServiceAsync service ) : Task
Details ( int id, IDetailServiceAsync service ) : Task
Edit ( int id, IUpdateSetupServiceAsync service ) : Task
Index ( IListService service ) : Task

Private Methods

Method Description
Create ( Tag tag, ICreateServiceAsync service ) : Task
Edit ( Tag tag, IUpdateServiceAsync service ) : Task

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, IDeleteServiceAsync service ) : Task
id int
service IDeleteServiceAsync
return Task

Details() public method

public Details ( int id, IDetailServiceAsync service ) : Task
id int
service IDetailServiceAsync
return Task

Edit() public method

public Edit ( int id, IUpdateSetupServiceAsync service ) : Task
id int
service IUpdateSetupServiceAsync
return Task

Index() public method

public Index ( IListService service ) : Task
service IListService
return Task