C# Class BooksServiceSample.Models.SampleBookChaptersRepository

Inheritance: IBookChaptersRepository
Show file Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Public Methods

Method Description
Add ( BookChapter chapter ) : void
AddAsync ( BookChapter chapter ) : System.Threading.Tasks.Task
Find ( string id ) : BookChapter
FindAsync ( System.Guid id ) : Task
GetAll ( ) : IEnumerable
GetAllAsync ( ) : Task>
Init ( ) : void
InitAsync ( ) : System.Threading.Tasks.Task
Remove ( string id ) : BookChapter
RemoveAsync ( System.Guid id ) : Task
Update ( BookChapter chapter ) : void
UpdateAsync ( BookChapter chapter ) : System.Threading.Tasks.Task

Method Details

Add() public method

public Add ( BookChapter chapter ) : void
chapter BookChapter
return void

AddAsync() public method

public AddAsync ( BookChapter chapter ) : System.Threading.Tasks.Task
chapter BookChapter
return System.Threading.Tasks.Task

Find() public method

public Find ( string id ) : BookChapter
id string
return BookChapter

FindAsync() public method

public FindAsync ( System.Guid id ) : Task
id System.Guid
return Task

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetAllAsync() public method

public GetAllAsync ( ) : Task>
return Task>

Init() public method

public Init ( ) : void
return void

InitAsync() public method

public InitAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Remove() public method

public Remove ( string id ) : BookChapter
id string
return BookChapter

RemoveAsync() public method

public RemoveAsync ( System.Guid id ) : Task
id System.Guid
return Task

Update() public method

public Update ( BookChapter chapter ) : void
chapter BookChapter
return void

UpdateAsync() public method

public UpdateAsync ( BookChapter chapter ) : System.Threading.Tasks.Task
chapter BookChapter
return System.Threading.Tasks.Task