public DataHandler(AppSetting setting) { _context = new ContactDBContext(setting); }
public EntityRepository(ContactDBContext context) { _context = context; _dbSet = context.Set <T>(); }