C# Class Skimur.Web.Controllers.ReportsController

Inheritance: BaseController
Datei anzeigen Open project: skimur/skimur

Public Methods

Method Description
ReportsController ( ILogger logger, ICommandBus commandBus, IUserContext userContext, ISubDao subDao, ISubWrapper subWrapper, IPermissionDao permissionDao, IPostDao postDao, IPostWrapper postWrapper, ICommentDao commentDao, ICommentWrapper commentWrapper ) : System

Private Methods

Method Description
BuildReasonFromType ( ReasonType type, string reason ) : string
Clear ( System.Guid postId, System.Guid commentId ) : Microsoft.AspNet.Mvc.ActionResult
Ignore ( System.Guid postId, System.Guid commentId ) : Microsoft.AspNet.Mvc.ActionResult
ReportComment ( System.Guid commentId, ReasonType type, string reason ) : Microsoft.AspNet.Mvc.ActionResult
ReportPost ( System.Guid postId, ReasonType type, string reason ) : Microsoft.AspNet.Mvc.ActionResult
ReportedComments ( string subName ) : Microsoft.AspNet.Mvc.ActionResult
ReportedPosts ( string subName ) : Microsoft.AspNet.Mvc.ActionResult
Unignore ( System.Guid postId, System.Guid commentId ) : Microsoft.AspNet.Mvc.ActionResult

Method Details

ReportsController() public method

public ReportsController ( ILogger logger, ICommandBus commandBus, IUserContext userContext, ISubDao subDao, ISubWrapper subWrapper, IPermissionDao permissionDao, IPostDao postDao, IPostWrapper postWrapper, ICommentDao commentDao, ICommentWrapper commentWrapper ) : System
logger ILogger
commandBus ICommandBus
userContext IUserContext
subDao ISubDao
subWrapper ISubWrapper
permissionDao IPermissionDao
postDao IPostDao
postWrapper IPostWrapper
commentDao ICommentDao
commentWrapper ICommentWrapper
return System