public GenericRepository(ForecastContext context) { Context = context; Set = Context.Set <T>(); }
public BaseRepository(ForecastContext context, IVariablesToken variables) { _context = context; _variables = variables; DbSet = _context.Set <TEntity>(); }
public ValorForecastRepository(ForecastContext context, IVariablesToken variables) { _context = context; _variables = variables; DbSet = _context.Set <ValorForecast>(); }