public BookRepository(NoteContext context) { _context = context; }
public NoteRepository(IOptions <Settings> settings) { _context = new NoteContext(settings); }