コード例 #1
0
        public Task <UserDetails> AsDetailsAsync()
        {
            var query = new GetCurrentUserDetailsQuery();

            return(ExtendableContentRepository.ExecuteQueryAsync(query));
        }
コード例 #2
0
        public async Task <JsonResult> Get()
        {
            var query = new GetCurrentUserDetailsQuery();

            return(await _apiResponseHelper.RunQueryAsync(query));
        }
コード例 #3
0
        public IContentRepositoryQueryContext <UserDetails> AsDetails()
        {
            var query = new GetCurrentUserDetailsQuery();

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }