C# 클래스 Skimur.App.Services.Impl.SubUserBanService

상속: ISubUserBanService
파일 보기 프로젝트 열기: skimur/skimur

공개 메소드들

메소드 설명
BanUserFromSub ( System.Guid subId, System.Guid userId, string userName, System.DateTime dateBanned, System.Guid bannedBy, string reasonPrivate, string reasonPublic ) : void
GetBannedUserInSub ( System.Guid subId, System.Guid userId ) : SubUserBan
GetBannedUsersInSub ( System.Guid subId, string userName = null, int skip = null, int take = null ) : SeekedList
IsUserBannedFromSub ( System.Guid subId, System.Guid userId ) : bool
SubUserBanService ( IDbConnectionProvider conn ) : System
UnBanUserFromSub ( System.Guid subId, System.Guid userId ) : void
UpdateSubBanForUser ( System.Guid subId, System.Guid userId, string reason ) : void

메소드 상세

BanUserFromSub() 공개 메소드

public BanUserFromSub ( System.Guid subId, System.Guid userId, string userName, System.DateTime dateBanned, System.Guid bannedBy, string reasonPrivate, string reasonPublic ) : void
subId System.Guid
userId System.Guid
userName string
dateBanned System.DateTime
bannedBy System.Guid
reasonPrivate string
reasonPublic string
리턴 void

GetBannedUserInSub() 공개 메소드

public GetBannedUserInSub ( System.Guid subId, System.Guid userId ) : SubUserBan
subId System.Guid
userId System.Guid
리턴 SubUserBan

GetBannedUsersInSub() 공개 메소드

public GetBannedUsersInSub ( System.Guid subId, string userName = null, int skip = null, int take = null ) : SeekedList
subId System.Guid
userName string
skip int
take int
리턴 SeekedList

IsUserBannedFromSub() 공개 메소드

public IsUserBannedFromSub ( System.Guid subId, System.Guid userId ) : bool
subId System.Guid
userId System.Guid
리턴 bool

SubUserBanService() 공개 메소드

public SubUserBanService ( IDbConnectionProvider conn ) : System
conn IDbConnectionProvider
리턴 System

UnBanUserFromSub() 공개 메소드

public UnBanUserFromSub ( System.Guid subId, System.Guid userId ) : void
subId System.Guid
userId System.Guid
리턴 void

UpdateSubBanForUser() 공개 메소드

public UpdateSubBanForUser ( System.Guid subId, System.Guid userId, string reason ) : void
subId System.Guid
userId System.Guid
reason string
리턴 void