protected override async void LoadControl(object param = null)
        {
            _attribuetDescriptionService = _attribuetDescriptionService ?? App.Container.Resolve <IAttribuetDescriptionService>();
            _connectionTypeService       = _connectionTypeService ?? App.Container.Resolve <IConnectionTypeService>();

            var attirbuetsResult = await _attribuetDescriptionService.GetAllAsync();

            if (attirbuetsResult.Succeed)
            {
                Attribuets = attirbuetsResult.Value.ToObservable();
            }
            else
            {
                await ShowMessage(attirbuetsResult.ErrorMessage);
            }

            var blResult = await _connectionTypeService.GetAllAsync();

            if (blResult.Succeed)
            {
                ConfigureSideBar(blResult.Value.ToObservable());
                SideBar.SelectedItem = SideBar.Items.FirstOrDefault();
            }
            else
            {
                await ShowMessage(blResult.ErrorMessage);
            }

            SaveCommand.NotifyCanExecuteChanged();
        }
        protected override async void LoadControl(object param = null)
        {
            _graphService = _graphService ?? App.Container.Resolve <IGraphService>();
            _nodeService  = _nodeService ?? App.Container.Resolve <INodeService>();
            _attribuetDescriptionService = _attribuetDescriptionService ?? App.Container.Resolve <IAttribuetDescriptionService>();

            var graphResult = await _graphService.GetAllAsync();

            if (graphResult.Succeed)
            {
                GraphModels = graphResult.Value.Select
                                  (x => new GraphModel()
                {
                    Id = x.Id, Name = x.Name
                }).ToObservable();

                Notify(nameof(GraphModels));
            }
            else
            {
                await ShowMessage(graphResult.ErrorMessage);
            }

            var nodesResult = await _nodeService.GetNodesIdAndNameAsync();

            if (nodesResult.Succeed)
            {
                ConfigureSideBar(nodesResult.Value.Select(x => new SimpleModel()
                {
                    Id = x.Key, Name = x.Value
                }).ToObservable());
            }
            else
            {
                await ShowMessage(nodesResult.ErrorMessage);
            }

            var attrResult = await _attribuetDescriptionService.GetAllAsync();

            if (attrResult.Succeed)
            {
                Attribuets = attrResult.Value.ToObservable();
            }
            else
            {
                await ShowMessage(attrResult.ErrorMessage);
            }
        }