C# 클래스 HelpRequest.Controllers.HelpController

상속: ApplicationController
파일 보기 프로젝트 열기: ucdavis/HelpRequest

공개 프로퍼티들

프로퍼티 타입 설명
ApplicationRepository IRepository
HelpTopicRepository IRepository

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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].

메소드 상세

Details() 공개 메소드

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
리턴 System.Web.Mvc.ActionResult

HelpController() 공개 메소드

public HelpController ( IRepository helpTopicRepository, IRepository applicationRepository ) : System.Security.Principal
helpTopicRepository IRepository
applicationRepository IRepository
리턴 System.Security.Principal

Index() 공개 메소드

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

WatchVideo() 공개 메소드

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
리턴 System.Web.Mvc.ActionResult

프로퍼티 상세

ApplicationRepository 공개적으로 프로퍼티

public IRepository ApplicationRepository
리턴 IRepository

HelpTopicRepository 공개적으로 프로퍼티

public IRepository HelpTopicRepository
리턴 IRepository