public async Task <IActionResult> Provision(ProvisionViewModel model)
        {
            Reset();

            try
            {
                if (model.YamlScript == null)
                {
                    throw new Exception("You must enter a valid YAML Script!");
                }

                IEnumerable <SpaceDescription> spaceCreateDescriptions;
                spaceCreateDescriptions = new Deserializer().Deserialize <IEnumerable <SpaceDescription> >(model.YamlScript);

                model.CreatedSpaces = await DigitalTwinsHelper.CreateSpaces(_cache, Loggers.SilentLogger, spaceCreateDescriptions, model.UDFFiles, model.RootParent.Id);

                model.Messages = CacheHelper.GetInfoMessagesFromCache(_cache);
                return(View(model));
            }
            catch (Exception ex)
            {
                FeedbackHelper.Channel.SendMessageAsync($"Error - {ex.Message}", MessageType.Info).Wait();
                return(RedirectToAction(nameof(Index)));
            }
        }