C# 클래스 JustPressPlay.Controllers.CommentsController

상속: Controller
파일 보기 프로젝트 열기: RIT-MAGIC/JustPressPlay

공개 메소드들

메소드 설명
Index ( ) : System.Web.Mvc.ActionResult

Testing comments - to be removed

비공개 메소드들

메소드 설명
Add ( int earningID, bool earningIsAchievement, String text ) : System.Web.Mvc.ActionResult
CommentsEnabled ( int earningID, bool earningIsAchievement, UnitOfWork work ) : bool

Determines if comments are enabled in both the site and the individual earning

Delete ( int commentID ) : System.Web.Mvc.ActionResult
Disable ( int earningID, bool earningIsAchievement ) : System.Boolean
Edit ( int commentID, String text ) : System.Web.Mvc.ActionResult
Enable ( int earningID, bool earningIsAchievement ) : System.Boolean
EnableDisable ( int earningID, bool earningIsAchievement, bool newState ) : System.Boolean

Helper for enabling or disabling comments on earnings

UserCanAccessEarning ( int earningID, bool earningIsAchievement, UnitOfWork work, user &earningUser, object &earningTemplate ) : bool

Determines if the logged in user has access to the earning

메소드 상세

Index() 공개 메소드

Testing comments - to be removed
public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult