Ejemplo n.º 1
0
 private void Validate_Click(object sender, RoutedEventArgs e)
 {
     AdminData.Datarowrequet(grdRequest);
     Sql_Connection.UPdateDataRequest(AdminData.A_ID);
     Sql_Connection.FillDataGridRequest(grdRequest);
     Powershell.Take_Serveur_Name(AdminData.A_Name);
     Powershell.Add_User_IntoGroups(AdminData.U_Serveur_Name, AdminData.A_Group, AdminData.A_Name);
 }
Ejemplo n.º 2
0
 private void Reject_Click(object sender, RoutedEventArgs e)
 {
     AdminData.Datarowrequet(grdRequest);
     Sql_Connection.DeleteDataNewRequest(AdminData.A_ID);
     Sql_Connection.FillDataGridRequest(grdRequest);
 }