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
Afficher le fichier Open project: JonPSmith/SampleMvcWebApp

Méthodes publiques

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

Méthode Description
Create ( Tag tag, ICreateServiceAsync service ) : Task
Edit ( Tag tag, IUpdateServiceAsync service ) : Task

Method Details

CodeView() public méthode

public CodeView ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Create() public méthode

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

Delete() public méthode

public Delete ( int id, IDeleteServiceAsync service ) : Task
id int
service IDeleteServiceAsync
Résultat Task

Details() public méthode

public Details ( int id, IDetailServiceAsync service ) : Task
id int
service IDetailServiceAsync
Résultat Task

Edit() public méthode

public Edit ( int id, IUpdateSetupServiceAsync service ) : Task
id int
service IUpdateSetupServiceAsync
Résultat Task

Index() public méthode

public Index ( IListService service ) : Task
service IListService
Résultat Task