예제 #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;
 }