메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
Create ( DetailPostDtoAsync dto, ICreateServiceAsync service ) : Task |
||
Edit ( DetailPostDtoAsync dto, IUpdateServiceAsync service ) : Task |
||
GetNumPostsAsync ( |
public Create ( ICreateSetupServiceAsync setupService ) : Task |
||
setupService | ICreateSetupServiceAsync | |
리턴 | Task |
public Delete ( int id, IDeleteServiceAsync service ) : Task |
||
id | int | |
service | IDeleteServiceAsync | |
리턴 | Task |
public Details ( int id, IDetailServiceAsync service ) : Task |
||
id | int | |
service | IDetailServiceAsync | |
리턴 | Task |
public Edit ( int id, IUpdateSetupServiceAsync service ) : Task |
||
id | int | |
service | IUpdateSetupServiceAsync | |
리턴 | Task |
public NumPosts ( |
||
db | ||
리턴 | Task |
public Reset ( |
||
db | ||
리턴 | System.Web.Mvc.ActionResult |