C# Class Skimur.App.Services.Impl.SubUserBanService

Inheritance: ISubUserBanService
Afficher le fichier Open project: skimur/skimur

Méthodes publiques

Méthode Description
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

Method Details

BanUserFromSub() public méthode

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
Résultat void

GetBannedUserInSub() public méthode

public GetBannedUserInSub ( System.Guid subId, System.Guid userId ) : SubUserBan
subId System.Guid
userId System.Guid
Résultat SubUserBan

GetBannedUsersInSub() public méthode

public GetBannedUsersInSub ( System.Guid subId, string userName = null, int skip = null, int take = null ) : SeekedList
subId System.Guid
userName string
skip int
take int
Résultat SeekedList

IsUserBannedFromSub() public méthode

public IsUserBannedFromSub ( System.Guid subId, System.Guid userId ) : bool
subId System.Guid
userId System.Guid
Résultat bool

SubUserBanService() public méthode

public SubUserBanService ( IDbConnectionProvider conn ) : System
conn IDbConnectionProvider
Résultat System

UnBanUserFromSub() public méthode

public UnBanUserFromSub ( System.Guid subId, System.Guid userId ) : void
subId System.Guid
userId System.Guid
Résultat void

UpdateSubBanForUser() public méthode

public UpdateSubBanForUser ( System.Guid subId, System.Guid userId, string reason ) : void
subId System.Guid
userId System.Guid
reason string
Résultat void