♻️ Refactored the cache service
This commit is contained in:
7
DysonNetwork.Shared/Cache/ICacheSerializer.cs
Normal file
7
DysonNetwork.Shared/Cache/ICacheSerializer.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace DysonNetwork.Shared.Cache;
|
||||
|
||||
public interface ICacheSerializer
|
||||
{
|
||||
string Serialize<T>(T value);
|
||||
T? Deserialize<T>(string data);
|
||||
}
|
||||
Reference in New Issue
Block a user