Example #1
0
        public async Task <J <IAssetEntity> > GetStateAsync(long version = EtagVersion.Any)
        {
            await DomainObject.EnsureLoadedAsync();

            return(DomainObject.GetSnapshot(version));
        }
Example #2
0
        public async Task <J <IContentEntity> > GetStateAsync(long version = -2)
        {
            await DomainObject.EnsureLoadedAsync();

            return(DomainObject.GetSnapshot(version));
        }