private static List <String> recupirerEmailAttente(String codeOuvrage) { RequeteOuvragueExe roe = new RequeteOuvragueExe(); String[] emails = roe.listEmailAttente(codeOuvrage); return(new List <String>(emails)); }
private static Emprinte[] listReservationExpirer() { RequeteOuvragueExe roe = new RequeteOuvragueExe(); IDataReader idr = roe.listReservationExpirer(); List <Emprinte> listEmprente = new List <Emprinte>(); while (idr.Read()) { Emprinte e = new Emprinte(); e.NumeroEmprinte = Convert.ToString(idr.GetInt64(0)); e.CodeOuvrague = idr.GetString(1); e.NomUtilisateurEmprenteur = idr.GetString(2); listEmprente.Add(e); } return(listEmprente.ToArray()); }
private static void viderListeAttente(List <String> codeOuvrage) { RequeteOuvragueExe roe = new RequeteOuvragueExe(); roe.viderListAttenteOuvrague(codeOuvrage.ToArray()); }
private static void supprimerReservation(List <String> numReservation) { RequeteOuvragueExe roe = new RequeteOuvragueExe(); roe.supprimerReservation(numReservation.ToArray()); }