C# Class BooksServiceSample.Models.BookChaptersRepository

Inheritance: IBookChaptersRepository, IDisposable
Show file Open project: ProfessionalCSharp/ProfessionalCSharp6

Public Methods

Method Description
AddAsync ( BookChapter chapter ) : System.Threading.Tasks.Task
BookChaptersRepository ( BooksContext booksContext ) : Microsoft.EntityFrameworkCore
Dispose ( ) : void
FindAsync ( System.Guid id ) : Task
GetAllAsync ( ) : Task>
InitAsync ( ) : System.Threading.Tasks.Task
RemoveAsync ( System.Guid id ) : Task
UpdateAsync ( BookChapter chapter ) : System.Threading.Tasks.Task

Method Details

AddAsync() public method

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

BookChaptersRepository() public method

public BookChaptersRepository ( BooksContext booksContext ) : Microsoft.EntityFrameworkCore
booksContext BooksContext
return Microsoft.EntityFrameworkCore

Dispose() public method

public Dispose ( ) : void
return void

FindAsync() public method

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

GetAllAsync() public method

public GetAllAsync ( ) : Task>
return Task>

InitAsync() public method

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

RemoveAsync() public method

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

UpdateAsync() public method

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