private void Add(ValueModel model)
        {
            var window = new AddEditValue(this);

            window.Render(model);
            window.ShowDialog();
        }
        public void Edit(int id)
        {
            var model  = ValueService.Edit(id);
            var window = new AddEditValue(this);

            window.Render(model);
            window.ShowDialog();
        }