C# Class Roadkill.Core.Mvc.Controllers.RelController

Inheritance: ControllerBase
Show file Open project: LocalGovDigital/pipeline

Public Methods

Method Description
ByUser ( string id, bool encoded ) : System.Web.Mvc.ActionResult

Displays all pages for a particular user.

RelController ( Roadkill.Core.Configuration.ApplicationSettings settings, Roadkill.Core.Security.UserServiceBase userManager, SettingsService settingsService, IRelService relService, SearchService searchService, PageHistoryService historyService, IUserContext context ) : System

Private Methods

Method Description
AllPages ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( RelViewModel model ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
New ( RelViewModel model ) : System.Web.Mvc.ActionResult
New ( string pageID ) : System.Web.Mvc.ActionResult

Method Details

ByUser() public method

Displays all pages for a particular user.
public ByUser ( string id, bool encoded ) : System.Web.Mvc.ActionResult
id string The username
encoded bool Whether the username paramter is Base64 encoded.
return System.Web.Mvc.ActionResult

RelController() public method

public RelController ( Roadkill.Core.Configuration.ApplicationSettings settings, Roadkill.Core.Security.UserServiceBase userManager, SettingsService settingsService, IRelService relService, SearchService searchService, PageHistoryService historyService, IUserContext context ) : System
settings Roadkill.Core.Configuration.ApplicationSettings
userManager Roadkill.Core.Security.UserServiceBase
settingsService Roadkill.Core.Services.SettingsService
relService IRelService
searchService Roadkill.Core.Services.SearchService
historyService Roadkill.Core.Services.PageHistoryService
context IUserContext
return System