public BaseRepository(GotFiredDbContext context) { _context = context; _dbSet = context.Set <T>(); }
//public ObservableCollection<T> Local; public GenericRepository(GotFiredDbContext context) : base(context) { Context = context; DbSet = context.Set <T>(); //Local = context.Set<T>().Local; }