scripture-viewer/BibleServer/ScriptureBookResponse.cs

14 lines
311 B
C#

namespace BibleServer
{
public class ScriptureBookResponse
{
public ScriptureBookResponse(ScriptureBook book)
{
BookName = book.Book;
Chapters=book.Chapters.Count;
}
public string BookName {get;set;}
public int Chapters {get;set;}
}
}