Example #1
0
        public override Agatha.Common.Response Handle(GetCacheRequest request)
        {
            var response = new GetCacheResponse();

            response.CacheValue = FakeCacheStore.Get(request.CacheKey);
            return(response);
        }
 public override void Handle(SetCacheCommand request)
 {
     FakeCacheStore.Add(request.CacheKey, request.CacheValue);
 }