private async Task LoadAsync(Models.Types?filterType)
        {
            List <Ontology> ontologies = await DigitalTwinsHelper.GetOntologiesWithTypes(_cache, Loggers.SilentLogger);

            List <Ontology> filteredOntologies = new List <Ontology>();
            Ontology        ontology;

            foreach (Ontology item in ontologies)
            {
                ontology = new Ontology()
                {
                    Id = item.Id, Name = item.Name, Loaded = item.Loaded
                };
                if (filterType != null)
                {
                    ontology.types = item.types.FindAll(t => t.Category.Equals(filterType.ToString()));
                }
                else
                {
                    ontology.types = item.types;
                }
                filteredOntologies.Add(ontology);
            }
            OntologyList = filteredOntologies;
        }