Beispiel #1
0
        /// <inheritdoc />
        public async Task SetWorldValidated(long worldId)
        {
            WorldEntryModel model = await this.DefaultRepository.RetrieveAsync(worldId)
                                    .ConfigureAwaitFalse();

            model.IsValidated = true;

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