C# Class Skimur.Web.Controllers.ModeratorsController

Inheritance: BaseController
显示文件 Open project: skimur/skimur

Public Methods

Method Description
Moderators ( string subName ) : Microsoft.AspNet.Mvc.ActionResult
ModeratorsController ( ISubDao subDao, IModerationDao moderationDao, IModeratorWrapper moderatorWrapper, IUserContext userContext, ICommandBus commandBus, ILogger logger, IModeratorInviteWrapper moderatorInviteWrapper, IPermissionDao permissionDao, IModerationInviteDao moderationInviteDao ) : System

Private Methods

Method Description
AcceptInvite ( string subName, System.Guid subId ) : Microsoft.AspNet.Mvc.ActionResult
ChangeInvite ( string subName, System.Guid subId, string userName, System.Guid userId, ModeratorPermissions permissions ) : Microsoft.AspNet.Mvc.ActionResult
ChangeModPermissions ( string subName, System.Guid subId, string userName, System.Guid userId, ModeratorPermissions permissions ) : Microsoft.AspNet.Mvc.ActionResult
DenyInvite ( string subName, System.Guid subId ) : Microsoft.AspNet.Mvc.ActionResult
InviteMod ( string subName, System.Guid subId, string userName, System.Guid userId, ModeratorPermissions permissions ) : Microsoft.AspNet.Mvc.ActionResult
RemoveInvite ( string subName, System.Guid subId, string userName, System.Guid userId ) : Microsoft.AspNet.Mvc.ActionResult
RemoveModFromSub ( string subName, System.Guid subId, System.Guid userId, string userName ) : Microsoft.AspNet.Mvc.ActionResult

Method Details

Moderators() public method

public Moderators ( string subName ) : Microsoft.AspNet.Mvc.ActionResult
subName string
return Microsoft.AspNet.Mvc.ActionResult

ModeratorsController() public method

public ModeratorsController ( ISubDao subDao, IModerationDao moderationDao, IModeratorWrapper moderatorWrapper, IUserContext userContext, ICommandBus commandBus, ILogger logger, IModeratorInviteWrapper moderatorInviteWrapper, IPermissionDao permissionDao, IModerationInviteDao moderationInviteDao ) : System
subDao ISubDao
moderationDao IModerationDao
moderatorWrapper IModeratorWrapper
userContext IUserContext
commandBus ICommandBus
logger ILogger
moderatorInviteWrapper IModeratorInviteWrapper
permissionDao IPermissionDao
moderationInviteDao IModerationInviteDao
return System