Пример #1
0
 public async Task <IEnumerable <Customer> > AllIncludeAsync(
     params Expression <Func <Customer, object> >[] includeProperties)
 {
     using (var context = _contextCreator())
     {
         _repository = new ConnectedRepository <Customer>(context);
         return(await _repository.AllIncludeAsync(includeProperties));
     }
 }