public async Task <bool> AddLegalNoteAsync(BiblePathsCoreDbContext context, string BibleId)
        {
            Bible Bible = await context.Bibles.FindAsync(BibleId);

            Bible.HydrateBible();
            LegalNote = Bible.LegalNote;
            return(true);
        }
Beispiel #2
0
 public MinBible(Bible Bible)
 {
     LegalNote  = Bible.LegalNote;
     Id         = Bible.Id;
     Language   = Bible.Language;
     Version    = Bible.Version;
     BibleBooks = new List <MinBook>();
     foreach (BibleBook Book in Bible.BibleBooks)
     {
         MinBook minBook = new MinBook(Book);
         BibleBooks.Add(minBook);
     }
 }