Esempio n. 1
0
        public Task <UserDetails> AsDetailsAsync()
        {
            var query = new GetCurrentUserDetailsQuery();

            return(ExtendableContentRepository.ExecuteQueryAsync(query));
        }
Esempio n. 2
0
        public async Task <JsonResult> Get()
        {
            var query = new GetCurrentUserDetailsQuery();

            return(await _apiResponseHelper.RunQueryAsync(query));
        }
Esempio n. 3
0
        public IContentRepositoryQueryContext <UserDetails> AsDetails()
        {
            var query = new GetCurrentUserDetailsQuery();

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