C# Class SnooNotesAPI.DAL.NoteTypesDAL

Show file Open project: CrustyJew/SnooNotes

Public Methods

Method Description
AddMultipleNoteTypes ( IEnumerable ntypes, string uname ) : Task>
DeleteMultipleNoteTypes ( IEnumerable ntypes, string uname ) : Task
GetNoteType ( int id ) : Task
GetNoteTypesForSubs ( IEnumerable subredditNames ) : Task>
UpdateMultipleNoteTypes ( NoteType ntypes, string uname ) : System.Threading.Tasks.Task
ValidateNoteTypesInSubs ( IEnumerable ntypes ) : Task

Method Details

AddMultipleNoteTypes() public method

public AddMultipleNoteTypes ( IEnumerable ntypes, string uname ) : Task>
ntypes IEnumerable
uname string
return Task>

DeleteMultipleNoteTypes() public method

public DeleteMultipleNoteTypes ( IEnumerable ntypes, string uname ) : Task
ntypes IEnumerable
uname string
return Task

GetNoteType() public method

public GetNoteType ( int id ) : Task
id int
return Task

GetNoteTypesForSubs() public method

public GetNoteTypesForSubs ( IEnumerable subredditNames ) : Task>
subredditNames IEnumerable
return Task>

UpdateMultipleNoteTypes() public method

public UpdateMultipleNoteTypes ( NoteType ntypes, string uname ) : System.Threading.Tasks.Task
ntypes SnooNotesAPI.Models.NoteType
uname string
return System.Threading.Tasks.Task

ValidateNoteTypesInSubs() public method

public ValidateNoteTypesInSubs ( IEnumerable ntypes ) : Task
ntypes IEnumerable
return Task