/// <summary> /// /// </summary> /// <param name="responsable"></param> /// <param name="responsableDe"></param> /// <param name="evt"></param> /// <returns></returns> public bool devenirResponsable(Personne responsable, Personne responsableDe, Evenement evt) { ListeIdeesCadeauxBLL listeBLL = new ListeIdeesCadeauxBLL(); ListeIdeesCadeaux listeRetour = listeBLL.getListeIdeesCadeaux(responsableDe, evt); return(respoDAL.devenirResponsable(responsable.id_personne, responsableDe.id_personne, listeRetour.id_listeIdeesCadeaux)); }
/// <summary> /// /// </summary> /// <param name="personne"></param> /// <param name="evt"></param> /// <returns></returns> public Personne getInfosResponsableDe(Personne personne, Evenement evt) { ListeIdeesCadeauxBLL listeBLL = new ListeIdeesCadeauxBLL(); ListeIdeesCadeaux listeRetour = listeBLL.getListeIdeesCadeaux(personne, evt); return(respoDAL.getInfosResponsableDe(personne.id_personne, listeRetour.id_listeIdeesCadeaux)); }