private void AddEducationPlace(EducationPlace place)
        {
            educationPlaces.Add(place);
            var view = new EducationPlaceView();

            view.Margin               = new Thickness(5);
            view.CollapseButtons      = false;
            view.EducationPlace       = place;
            view.DeleteButtonClicked += (sender, args) =>
            {
                if (view.EducationPlace.Id > 0)
                {
                    idsForDelete.Add(view.EducationPlace.Id);
                }
                EducationPlacePanel.Children.Remove(view);
                educationPlaces.Remove(view.EducationPlace);
            };
            view.EditButtonClicked += (sender, args) =>
            {
                var window = new EditEducationWindow();
                window.Owner = this;
                window.EducationPlaceView = view;
                window.ShowDialog();
            };
            EducationPlacePanel.Children.Add(view);
        }
        private void AddEducationPlaceButton_OnClick(object sender, RoutedEventArgs e)
        {
            EducationPlace place = new EducationPlace();

            place.DrafteeId = DrafteeId;

            EducationPlaceView view = new EducationPlaceView();

            view.EducationPlace = place;

            var window = new EditEducationWindow();

            window.EducationPlaceView = view;
            window.Owner = this;
            window.ShowDialog();
            if (window.ApplyClicked)
            {
                AddEducationPlace(place);
            }
        }