Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
Create ( |
||
Edit ( |
public CodeView ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Create ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IDeleteService | |
return | System.Web.Mvc.ActionResult |
public Details ( int id, IDetailService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IDetailService | |
return | System.Web.Mvc.ActionResult |
public Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult | ||
id | int | |
service | IUpdateSetupService | |
return | System.Web.Mvc.ActionResult |
public Index ( IListService service ) : System.Web.Mvc.ActionResult | ||
service | IListService | |
return | System.Web.Mvc.ActionResult |