C# Class HelpRequest.Controllers.HelpController

Inheritance: ApplicationController
Afficher le fichier Open project: ucdavis/HelpRequest

Méthodes publiques

Свойство Type Description
ApplicationRepository IRepository
HelpTopicRepository IRepository

Méthodes publiques

Méthode Description
Details ( int id, string appName, string subject ) : System.Web.Mvc.ActionResult

GET: /Help/Details/5 #6

HelpController ( IRepository helpTopicRepository, IRepository applicationRepository ) : System.Security.Principal
Index ( string appName, string subject ) : System.Web.Mvc.ActionResult

Index #1

WatchVideo ( int id, string appName, string subject ) : System.Web.Mvc.ActionResult

Watches the video. #7

Private Methods

Méthode Description
Create ( HelpTopicViewModel viewModel, string appName, string passedSubject ) : System.Web.Mvc.ActionResult
Create ( string appName, string subject ) : System.Web.Mvc.ActionResult
Edit ( int id, HelpTopic helpTopic, string appName, string passedSubject ) : System.Web.Mvc.ActionResult
Edit ( int id, string appName, string subject ) : System.Web.Mvc.ActionResult
IsUserAuthorized ( HelpTopic helpTopic, IPrincipal currentUser, string appName ) : bool

Determines whether [is user authorized] [the specified help topic].

Method Details

Details() public méthode

GET: /Help/Details/5 #6
public Details ( int id, string appName, string subject ) : System.Web.Mvc.ActionResult
id int The id of the Help topic.
appName string Filter to App Name
subject string
Résultat System.Web.Mvc.ActionResult

HelpController() public méthode

public HelpController ( IRepository helpTopicRepository, IRepository applicationRepository ) : System.Security.Principal
helpTopicRepository IRepository
applicationRepository IRepository
Résultat System.Security.Principal

Index() public méthode

Index #1
public Index ( string appName, string subject ) : System.Web.Mvc.ActionResult
appName string Name of the app.
subject string
Résultat System.Web.Mvc.ActionResult

WatchVideo() public méthode

Watches the video. #7
public WatchVideo ( int id, string appName, string subject ) : System.Web.Mvc.ActionResult
id int The id of the Help topic.
appName string Filter to App Name
subject string
Résultat System.Web.Mvc.ActionResult

Property Details

ApplicationRepository public_oe property

public IRepository ApplicationRepository
Résultat IRepository

HelpTopicRepository public_oe property

public IRepository HelpTopicRepository
Résultat IRepository