public IEnumerable <T> GetAll(Specification <T> spec)
 {
     return(_context.Set <T>().Where(spec.ToExpression()).ToList());
 }