C# Class Dnn.ContactList.Mvc.Controllers.ContactController

Inheritance: DnnController
Afficher le fichier Open project: dnnsoftware/Dnn.Platform.Samples.Mvc

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ContactController() public méthode

Default Constructor constructs a new ContactController
public ContactController ( ) : System
Résultat System

ContactController() public méthode

Constructor constructs a new ContactController with a passed in repository
public ContactController ( IContactRepository repository ) : System
repository IContactRepository
Résultat System

GetDemoPartial() public méthode

public GetDemoPartial ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

GetJsonResult() public méthode

public GetJsonResult ( ) : System.Web.Mvc.JsonResult
Résultat System.Web.Mvc.JsonResult