Method | Description | |
---|---|---|
CodeView ( ) : System.Web.Mvc.ActionResult | ||
Create ( ICreateSetupServiceAsync setupService ) : Task |
||
Delay ( ) : Task |
||
Delete ( int id, IDeleteServiceAsync service ) : Task |
||
Details ( int id, IDetailServiceAsync service ) : Task |
||
Edit ( int id, IUpdateSetupServiceAsync service ) : Task |
||
Index ( IListService service ) : Task |
This is an example of a Controller using GenericServices database commands with a DTO. In this case we are using async commands
|
|
NumPosts ( |
||
Reset ( |
Method | Description | |
---|---|---|
Create ( DetailPostDtoAsync dto, ICreateServiceAsync service ) : Task |
||
Edit ( DetailPostDtoAsync dto, IUpdateServiceAsync service ) : Task |
||
GetNumPostsAsync ( |
public CodeView ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Create ( ICreateSetupServiceAsync setupService ) : Task |
||
setupService | ICreateSetupServiceAsync | |
return | Task |
public Delete ( int id, IDeleteServiceAsync service ) : Task |
||
id | int | |
service | IDeleteServiceAsync | |
return | Task |
public Details ( int id, IDetailServiceAsync service ) : Task |
||
id | int | |
service | IDetailServiceAsync | |
return | Task |
public Edit ( int id, IUpdateSetupServiceAsync service ) : Task |
||
id | int | |
service | IUpdateSetupServiceAsync | |
return | Task |
public NumPosts ( |
||
db | ||
return | Task |
public Reset ( |
||
db | ||
return | System.Web.Mvc.ActionResult |