Пример #1
0
        public async Task <QuizReadModel> Get()
        {
            var result = await _projectionsClient.GetStateAsync();

            return(JsonConvert.DeserializeObject <QuizReadModel>(result));
        }
 public async Task <ActionResult <FunnyFact> > GetTotalCountCreatedItemsAction()
 {
     return(await _projections.GetStateAsync <FunnyFact>("funny_facts"));
 }