public AddAsync ( |
||
chapter | ||
return | System.Threading.Tasks.Task |
public async Task AddAsync(BookChapter chapter)
{
_booksContext.Chapters.Add(chapter);
await _booksContext.SaveChangesAsync();
}