public void AddToCache(ICacheRepository repository) { repository.AddItemWithKey(string.Format(CacheKey, Vin), this, DateTime.Now.AddDays(1)); repository.AddItemWithKey(string.Format(CacheKey, License), this, DateTime.Now.AddDays(1)); repository.AddItemWithKey(string.Format(CacheKey, Registration), this, DateTime.Now.AddDays(1)); }