메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
Create ( |
||
Edit ( |
public Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IDeleteService | |
리턴 | System.Web.Mvc.ActionResult |
public Details ( int id, IDetailService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IDetailService | |
리턴 | System.Web.Mvc.ActionResult |
public Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IUpdateSetupService | |
리턴 | System.Web.Mvc.ActionResult |
public Index ( IListService service ) : System.Web.Mvc.ActionResult | ||
service | IListService | |
리턴 | System.Web.Mvc.ActionResult |