public Task <RoleDetails> AsDetailsAsync()
        {
            var query = new GetRoleDetailsByIdQuery(_roleId);

            return(ExtendableContentRepository.ExecuteQueryAsync(query));
        }
예제 #2
0
        public IContentRepositoryQueryContext <RoleDetails> AsDetails()
        {
            var query = new GetRoleDetailsByIdQuery(_roleId);

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