private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Position position = new Position();

            Recruitmen_Init recruitmen_Init = new Recruitmen_Init(position);

            NavigationService.GetNavigationService(this).Navigate(recruitmen_Init);
        }
        private void detail_Click(object sender, RoutedEventArgs e)
        {
            var mySelectedElement = (Dateview_2)dataGrid.SelectedItem;

            var selectedID = mySelectedElement.ID;


            using (var context = new JobManageEntities())
            {
                var q = from t in context.Position
                        where t.ID == selectedID
                        select t;
                foreach (var v in q)
                {
                    Recruitmen_Init recruitmen_Init = new Recruitmen_Init(v);
                    NavigationService.GetNavigationService(this).Navigate(recruitmen_Init);
                }
            }
        }