public IEnumerable <Customer> FindByInclude( Expression <Func <Customer, bool> > predicate, params Expression <Func <Customer, object> >[] includeProperties) { using (var context = _contextCreator()) { _repository = new ConnectedRepository <Customer>(context); return(_repository.FindByInclude(predicate, includeProperties)); } }