Exemplo n.º 1
0
        private void SaveWebpage(Webpage webpage, bool temp = false)
        {
            int key = _fileStorage.CreateNewStorage(webpage.WebpageName);

            foreach (var component in webpage.Components)
            {
                _fileStorage
                .CreateFileWithContent(key, _fileStorage.CleanFileName(component.AbsolutePath.ToString()), component.SourceCode);
            }
        }