C# 클래스 SampleWebApp.Controllers.BlogsController

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
상속: Controller
파일 보기 프로젝트 열기: JonPSmith/SampleMvcWebApp

공개 메소드들

메소드 설명
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult
Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult
Index ( IListService service ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
Create ( Blog blog, ICreateService service ) : System.Web.Mvc.ActionResult
Edit ( Blog blog, IUpdateService service ) : System.Web.Mvc.ActionResult

메소드 상세

Create() 공개 메소드

public Create ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

public Delete ( int id, IDeleteService service ) : System.Web.Mvc.ActionResult
id int
service IDeleteService
리턴 System.Web.Mvc.ActionResult

Edit() 공개 메소드

public Edit ( int id, IUpdateSetupService service ) : System.Web.Mvc.ActionResult
id int
service IUpdateSetupService
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

public Index ( IListService service ) : System.Web.Mvc.ActionResult
service IListService
리턴 System.Web.Mvc.ActionResult