C# 클래스 Dnn.ContactList.Mvc.Controllers.ContactController

상속: DnnController
파일 보기 프로젝트 열기: dnnsoftware/Dnn.Platform.Samples.Mvc

공개 메소드들

메소드 설명
ContactController ( ) : System

Default Constructor constructs a new ContactController

ContactController ( IContactRepository repository ) : System

Constructor constructs a new ContactController with a passed in repository

GetDemoPartial ( ) : System.Web.Mvc.ActionResult
GetJsonResult ( ) : System.Web.Mvc.JsonResult

비공개 메소드들

메소드 설명
Delete ( int contactId ) : System.Web.Mvc.ActionResult
Edit ( Dnn.ContactList.Api.Contact contact ) : System.Web.Mvc.ActionResult
Edit ( int contactId = -1 ) : System.Web.Mvc.ActionResult
Index ( string searchTerm = "", int pageIndex ) : System.Web.Mvc.ActionResult

메소드 상세

ContactController() 공개 메소드

Default Constructor constructs a new ContactController
public ContactController ( ) : System
리턴 System

ContactController() 공개 메소드

Constructor constructs a new ContactController with a passed in repository
public ContactController ( IContactRepository repository ) : System
repository IContactRepository
리턴 System

GetDemoPartial() 공개 메소드

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

GetJsonResult() 공개 메소드

public GetJsonResult ( ) : System.Web.Mvc.JsonResult
리턴 System.Web.Mvc.JsonResult