using System; using System.Collections.Generic; using System.Text; namespace CoviDok.BLL { class DummyProvider : ISessionProvider { private readonly Dictionary dict; public DummyProvider() { dict = new Dictionary(); } public void Del(string key) { dict.Remove(key); } public string Get(string key) { try { return dict[key]; } catch (KeyNotFoundException) { return null; } } public void Set(string key, string value) { dict[key] = value; } } }