public Task <UserDetails> AsDetailsAsync() { var query = new GetCurrentUserDetailsQuery(); return(ExtendableContentRepository.ExecuteQueryAsync(query)); }
public async Task <JsonResult> Get() { var query = new GetCurrentUserDetailsQuery(); return(await _apiResponseHelper.RunQueryAsync(query)); }
public IContentRepositoryQueryContext <UserDetails> AsDetails() { var query = new GetCurrentUserDetailsQuery(); return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository)); }