예제 #1
0
 public ContactsRepository(IConfiguration configuration)
 {
     _context    = new ContactsDbContext <Contact>(configuration);
     _collection = _context.GetCollection("Contacts");
 }