示例#1
0
 public BookRepository(NoteContext context)
 {
     _context = context;
 }
示例#2
0
 public NoteRepository(IOptions <Settings> settings)
 {
     _context = new NoteContext(settings);
 }