-
-
Save nicolaiarocci/2654b88bc3f7fe818dfa8ac862599728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var persons = new Dictionary<string, Person>() { | |
{"tom", new Person {Name = "tom", Age = 19}}, | |
{"mike", new Person {Name = "mike", Age = 30}}, | |
}; | |
var expireAt = DateTime.Now.AddDays(-1); | |
var inserted = await cache.Insert(persons, expireAt); | |
Assert.That(inserted, Is.EqualTo(2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment