private IQueryable <TEntity> ApplySpesification(ProductContext context, ISpesification <TEntity> spesification)
 {
     return(SpesificationEvaulator <TEntity> .GetQuery(context.Set <TEntity>().AsQueryable(), spesification));
 }
        private IQueryable <TEntity> ApplySpesification(ISpesification <TEntity> spesification)
        {
            var context = new TContext();

            return(SpesificationEvaulator <TEntity> .GetQuery(context.Set <TEntity>().AsQueryable(), spesification));
        }