Exemple #1
0
 //EXPEDIENTES
 public static void guardarExpediente(Expediente pExpediente, string pOperacion)
 {
     DataAccessLayerExpediente oDAL = new SQLExpediente();
     if (pOperacion == "Insert")
     {
         oDAL.Insert(pExpediente);
     }
     else if (pOperacion == "Update")
     {
         oDAL.Update(pExpediente);
     }
     else
     {
         throw new Exception();
     }
 }