C# Class SnooNotesAPI.DAL.SubredditDAL

Mostra file Open project: CrustyJew/SnooNotes

Public Methods

Method Description
AddSubreddit ( Subreddit sub ) : Task
GetActiveSubs ( ) : Task>
GetBotSettings ( string subName ) : Task
GetSubreddits ( IEnumerable subnames ) : Task>
UpdateBotSettings ( DirtbagSettings settings, string subName ) : Task
UpdateSubredditSettings ( Subreddit sub ) : Task

Method Details

AddSubreddit() public method

public AddSubreddit ( Subreddit sub ) : Task
sub SnooNotesAPI.Models.Subreddit
return Task

GetActiveSubs() public method

public GetActiveSubs ( ) : Task>
return Task>

GetBotSettings() public method

public GetBotSettings ( string subName ) : Task
subName string
return Task

GetSubreddits() public method

public GetSubreddits ( IEnumerable subnames ) : Task>
subnames IEnumerable
return Task>

UpdateBotSettings() public method

public UpdateBotSettings ( DirtbagSettings settings, string subName ) : Task
settings SnooNotesAPI.Models.DirtbagSettings
subName string
return Task

UpdateSubredditSettings() public method

public UpdateSubredditSettings ( Subreddit sub ) : Task
sub SnooNotesAPI.Models.Subreddit
return Task