private void ButtonAgregar_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            var _class = new ClassScheduleImput(null);

            _class.Show();
        }
        private void Button_Modificar(object sender, RoutedEventArgs e)
        {
            ClassScheduleModel classScheduleModel = DataGridClassSchedule.SelectedItem as ClassScheduleModel;

            if (classScheduleModel != null)
            {
                int?id = classScheduleModel.Id;
                this.Close();
                var windowClassSchedule = new ClassScheduleImput(id);
                windowClassSchedule.Show();
            }
            else
            {
                GRDialogInformation _msg = new GRDialogInformation();
                _msg.Message = "Debe Seleccionar un Registro";
                _msg.ShowDialog();
            }
        }