public void UpdateTest() { var storage = new InMemoryStorage(); var item = new ReminderItem(Guid.NewGuid(), DateTimeOffset.Now, "Test ALO", 0); storage.Add(item.Id, item); var item1 = new ReminderItem(Guid.NewGuid(), DateTimeOffset.Now, "Test HALLO", 1); storage.Update(item.Id, item1); var getItem = storage.Get(item1.Id); Assert.AreEqual(item1, getItem); }
public void Update(Product entity) { _inMemoryStorage.Update(entity); }
public void Update(Vendor entity) { _inMemoryStorage.Update(entity); }