private CatalogViewModel GetCatalogViewModel(string code)
        {
            var catalog = catalogManager.GetCatalog(code);

            if (catalog == null)
            {
                return(null);
            }

            CatalogViewModel catalogvm = MapCatalog(catalog);

            return(catalogvm);
        }