示例#1
0
 public static D.Etablissements.Showroom ToDAL(this Showroom p)
 {
     return(new D.Etablissements.Showroom
     {
         ID = p.ID,
         Nom = p.Nom,
         NumBCE = p.NumBCE,
         AdRue = p.AdRue,
         AdNum = p.AdNum,
         AdCP = p.AdCP,
         AdVille = p.AdVille,
         AdPays = p.AdPays,
         NumTel = p.NumTel,
         Email = p.Email,
         IsActif = p.IsActif,
         PersonnelList = ListConverter(_servicePersonnel.GetPersonnelByShowroom(p.ID), ToDAL)
     });
 }
示例#2
0
 public IEnumerable <Personnel_API> GetPersonnelByShowroom(int id)
 {
     return(_service.GetPersonnelByShowroom(id));
 }