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

            model.IsValidated = true;

            await DefaultRepository.UpdateAsync(worldId, model)
            .ConfigureAwait(false);
        }
Example #2
0
 /// <inheritdoc />
 public Task UpdateAsync(long key, WorldEntryModel model)
 {
     return(DefaultRepository.UpdateAsync(key, model));
 }
Example #3
0
 /// <inheritdoc />
 public Task UpdateAsync(long key, TCustomContentModelType model)
 {
     return(DefaultRepository.UpdateAsync(key, model));
 }