private BookAccuracyListDetailModel SetupModel(bool seed = false)
 {
     _db = new SatrimonoContext(InMemoryDbContext <SatrimonoContext> .GetTestDbOptions());
     if (seed)
     {
         _seedData = SatrimonoSeedData.AddBookSeedData(_db);
     }
     return(new BookAccuracyListDetailModel(_db));
 }
Esempio n. 2
0
 private BookAccuracyListModel SetupModel()
 {
     _db       = new SatrimonoContext(InMemoryDbContext <SatrimonoContext> .GetTestDbOptions());
     _seedData = SatrimonoSeedData.AddBookSeedData(_db);
     return(new BookAccuracyListModel(_db));
 }