示例#1
0
 private Repertoire RepertoireFromDto(RepertoireDto r)
 {
     return(new Repertoire
     {
         IDUtilisateur = r.IDUtilisateur,
         IDContact = r.IDContact,
         Nom = r.Nom,
         Prenom = r.Prenom,
         Adresse = r.Adresse,
         NTel = r.NTel,
         Email = r.Email,
         Photo = BLLUtilities.ImgToBinary(r.Photo),
         Priorite = r.Priorite
     });
 }
示例#2
0
 public bool RemoveRepertoire(RepertoireDto r)
 {
     return(DataAcces.RemoveRepertoire(RepertoireFromDto(r)));
 }
示例#3
0
 public bool UpdateRepertoire(RepertoireDto r)
 {
     return(DataAcces.UpdateRepertoire(RepertoireFromDto(r)));
 }
示例#4
0
 public bool InsertRepertoire(RepertoireDto r)
 {
     return(DataAcces.InsertRepertoire(RepertoireFromDto(r)));
 }