public async Task <TProjection> LookupAsync(MultiSiteId id)
        {
            TProjection projection = default(TProjection);
            await projector.ProjectAsync <TProjection>(id, p => projection = p);

            return(projection);
        }
Exemplo n.º 2
0
 public async Task LoadAsync(MultiSiteId id, Action <TProjection> onLoad)
 {
     await projector.ProjectAsync(id, onLoad);
 }