コード例 #1
0
        /// <inheritdoc />
        public async Task SetWorldValidated(long worldId)
        {
            AvatarEntryModel model = await this.DefaultRepository.RetrieveAsync(worldId)
                                     .ConfigureAwaitFalse();

            model.IsValidated = true;

            await DefaultRepository.UpdateAsync(worldId, model)
            .ConfigureAwaitFalseVoid();
        }
コード例 #2
0
 /// <inheritdoc />
 public Task UpdateAsync(long key, AvatarEntryModel model)
 {
     return(DefaultRepository.UpdateAsync(key, model));
 }
コード例 #3
0
 /// <inheritdoc />
 public Task <bool> TryCreateAsync(AvatarEntryModel model)
 {
     return(DefaultRepository.TryCreateAsync(model));
 }