diff --git a/Caching/ICachingService.cs b/Caching/ICachingService.cs new file mode 100644 index 0000000..e321459 --- /dev/null +++ b/Caching/ICachingService.cs @@ -0,0 +1,9 @@ +namespace Promact.Core.Caching +{ + public interface ICachingService + { + void Set(string key, T value); + T Get(string key); + void Remove(string key); + } +} diff --git a/Caching/ICachingUniqueKeyGenerationService.cs b/Caching/ICachingUniqueKeyGenerationService.cs new file mode 100644 index 0000000..d06a8e2 --- /dev/null +++ b/Caching/ICachingUniqueKeyGenerationService.cs @@ -0,0 +1,7 @@ +namespace Promact.Core.Caching +{ + public interface ICachingUniqueKeyGenerationService + { + string GenerateUniqueKey(string key); + } +}