diff --git a/ProjectLighthouse/ProjectLighthouse.csproj b/ProjectLighthouse/ProjectLighthouse.csproj index cb151679..39d794fd 100644 --- a/ProjectLighthouse/ProjectLighthouse.csproj +++ b/ProjectLighthouse/ProjectLighthouse.csproj @@ -21,7 +21,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/ProjectLighthouse/StorableLists/RedisStorableList.cs b/ProjectLighthouse/StorableLists/RedisStorableList.cs index c6938f28..31ccb0db 100644 --- a/ProjectLighthouse/StorableLists/RedisStorableList.cs +++ b/ProjectLighthouse/StorableLists/RedisStorableList.cs @@ -17,15 +17,15 @@ public class RedisStorableList : StorableList this.redisNormalCollection.Insert(item); } - public override Task RemoveAsync(T item) => this.redisNormalCollection.Delete(item); + public override Task RemoveAsync(T item) => this.redisNormalCollection.DeleteAsync(item); public override void Remove(T item) { - this.redisNormalCollection.DeleteSync(item); + this.redisNormalCollection.Delete(item); } - public override Task UpdateAsync(T item) => this.redisNormalCollection.Update(item); + public override Task UpdateAsync(T item) => this.redisNormalCollection.UpdateAsync(item); public override void Update(T item) { - this.redisNormalCollection.UpdateSync(item); + this.redisNormalCollection.Update(item); } } \ No newline at end of file