Méthode | Description | |
---|---|---|
DeleteSub ( System.Guid subId ) : void | ||
GetAllSubs ( string searchText = null, SubsSortBy sortBy = SubsSortBy.Relevance, bool nsfw = null, int skip = null, int take = null ) : SeekedList |
||
GetDefaultSubs ( ) : List |
||
GetRandomSub ( bool nsfw = null ) : Guid? | ||
GetSubById ( System.Guid id ) : Sub | ||
GetSubByName ( string name ) : Sub | ||
GetSubsByIds ( List |
||
GetSubscribedSubsForUser ( System.Guid userId ) : List |
||
InsertSub ( Sub sub ) : void | ||
IsUserSubscribedToSub ( System.Guid userId, System.Guid subId ) : bool | ||
SubService ( IDbConnectionProvider conn, IMapper mapper ) : System | ||
SubscribeToSub ( System.Guid userId, System.Guid subId ) : void | ||
UnSubscribeToSub ( System.Guid userId, System.Guid subId ) : void | ||
UpdateNumberOfSubscribers ( System.Guid subId, ulong &totalNumber ) : void | ||
UpdateSub ( Sub sub ) : void |
public DeleteSub ( System.Guid subId ) : void | ||
subId | System.Guid | |
Résultat | void |
public GetAllSubs ( string searchText = null, SubsSortBy sortBy = SubsSortBy.Relevance, bool nsfw = null, int skip = null, int take = null ) : SeekedList |
||
searchText | string | |
sortBy | SubsSortBy | |
nsfw | bool | |
skip | int | |
take | int | |
Résultat | SeekedList |
public GetRandomSub ( bool nsfw = null ) : Guid? | ||
nsfw | bool | |
Résultat | Guid? |
public GetSubscribedSubsForUser ( System.Guid userId ) : List |
||
userId | System.Guid | |
Résultat | List |
public IsUserSubscribedToSub ( System.Guid userId, System.Guid subId ) : bool | ||
userId | System.Guid | |
subId | System.Guid | |
Résultat | bool |
public SubService ( IDbConnectionProvider conn, IMapper mapper ) : System | ||
conn | IDbConnectionProvider | |
mapper | IMapper | |
Résultat | System |
public SubscribeToSub ( System.Guid userId, System.Guid subId ) : void | ||
userId | System.Guid | |
subId | System.Guid | |
Résultat | void |
public UnSubscribeToSub ( System.Guid userId, System.Guid subId ) : void | ||
userId | System.Guid | |
subId | System.Guid | |
Résultat | void |
public UpdateNumberOfSubscribers ( System.Guid subId, ulong &totalNumber ) : void | ||
subId | System.Guid | |
totalNumber | ulong | |
Résultat | void |