C# Класс Skimur.App.Services.Impl.SubUserBanService

Наследование: ISubUserBanService
Показать файл Открыть проект

Открытые методы

Метод Описание
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