public ChapterContentAssert(HttpResponseMessage response, LibraryDto library) { _response = response; _libraryId = library.Id; _library = library; _chapterContent = response.GetContent <ChapterContentView>().Result; }
public static ChapterContentModel Map(this ChapterContentView source) => new ChapterContentModel { Id = source.Id, ChapterId = source.ChapterId, ChapterNumber = source.ChapterNumber, BookId = source.BookId, Language = source.Language, Text = source.Text };