Ejemplo n.º 1
0
 private async Task GetData()
 {
     _questionsProjection = await _dbContext.LoadAsync("base.UserProjection", new { UserId = _userGrainId.UserId },
                                                       async reader =>
     {
         var questionSummaries = await reader.ReadAsync <QuestionSummary>();
         return(new UserReadContext(questionSummaries));
     });
 }