Пример #1
0
 private Task <ImmutableList <BranchSettings.BranchGroup> > GetConfiguredBranchesOnce(BranchingContext context)
 {
     return((from branch in context.BranchGroup
             select branch).AsNoTracking().ToArrayAsync()
            .ContinueWith(result => result.Result.Select(EfBranchGroupToModel).ToImmutableList()));
 }
Пример #2
0
 public EfBranchSettingsAccessor(BranchingContext context)
 {
     this.context = context;
 }