private void OnOpen()
        {
            OpenFileDialog ofd = new OpenFileDialog()
            {
                FileName         = "data",
                DefaultExt       = "json",
                Filter           = "JSON files (*.json)|*.json",
                RestoreDirectory = true
            };
            var result = ofd.ShowDialog();

            if (result == true)
            {
                var data = JsonSerializer.Deserialize <SerializeObject>(ofd.FileName);
                QuantifierVm.Quantifiers    = data.Quantifiers;
                SummarizerVm.AttributesList = data.SummarizerAttributesList;
            }
            SummaryVm = new SummaryVM(SummarizerVm.AttributesList, QuantifierVm.Quantifiers, this);
            // var temp = SummarizerVm.AttributesList.Select(c => c.Summarizers).ToList();
            QuantifierVm.Draw();
//            foreach (var VARIABLE in temp)
//            {
//                foreach (var summarizer in VARIABLE)
//                {
//                    SummaryVm.Qualifiers.Add(summarizer);
//                }
//            }
//            SummaryVm.Qualifiers.Add(new Summarizer("", null));
        }
 public MainWindowVM()
 {
     ReadWindowsSetting();
     ApplyBase(_isDarkTheme);
     Covers       = CoverRepository.All();
     SummarizerVm = new SummarizerVM(this);
     QuantifierVm = new QuantifierVM(this);
     SummaryVm    = new SummaryVM(SummarizerVm.AttributesList, QuantifierVm.Quantifiers, this);
     Save         = new RelayCommand(OnSave);
     Open         = new RelayCommand(OnOpen);
 }