public ContactNumberRepository(IPhonebookContext phonebookContext)
 {
     _phonebookContext = phonebookContext;
     dbSet             = _phonebookContext.Set <ContactNumber>();
 }
Exemplo n.º 2
0
 public GenericRepository(IPhonebookContext phonebookContext)
 {
     _phonebookContext = phonebookContext;
     dbSet             = _phonebookContext.Set <TEntity>();
 }