scripture-viewer/BibleServer/ScriptureBooksResponse.cs

18 lines
445 B
C#
Raw Normal View History

2023-09-03 03:53:13 +00:00
using System.Collections.Generic;
namespace BibleServer
{
internal class ScriptureBooksResponse
{
public ScriptureBooksResponse(string bible,ScriptureRoot root)
{
Bible= bible;
foreach(var item in root.Books)
{
Books.Add(item.Book);
}
}
public string Bible {get;set;}
public List<string> Books {get;set;}=new List<string>();
}
}