public EFRepository(SmartPriceContext ctx) { _ctx = ctx; }
public EFDataAccess(SmartPriceContext ctx) { _dbSet = ctx.Set <T>(); }