// Добавление нового декретного отпуска
        private void AddNewMaternityLeave_Click(object sender, RoutedEventArgs e)
        {
            var vacationWindow = new AddNewMaternityLeave(_currentEmployeeId);

            vacationWindow.ShowDialog();

            LoadVacationsInfo();
        }
        // Редактирование декретного отпуска
        private void EditMaternityLeave_Click(object sender, RoutedEventArgs e)
        {
            int currentId      = (MaternityLeaveDataGrid.SelectedItem as MaternityLeaveData).Id;
            var vacationWindow = new AddNewMaternityLeave(_currentEmployeeId, currentId);

            vacationWindow.ShowDialog();

            LoadVacationsInfo();
        }