Exemplo n.º 1
0
        public ExibitInfoService(ExibitInfoStorage storage)
        {
            _storage = storage;

            _keyFilePathMap = new Dictionary <string, string>()
            {
                { NotFoundKey, "ExibitInfos/404.html" },

                { "kanagawa_greatwave", "ExibitInfos/kanagawa_greatwave.html" },
                { "kramskoy_woman", "ExibitInfos/kramskoy_woman.html" },
                { "munch_scream", "ExibitInfos/munch_scream.html" },
                { "perov_dostoevskiy", "ExibitInfos/perov_dostoevskiy.html" },
                { "vangogh_starrynight", "ExibitInfos/vangogh_starrynight.html" }
            };
        }
Exemplo n.º 2
0
 private void InitStoges()
 {
     _exibitInfoStorage = new ExibitInfoStorage();
 }