Ejemplo n.º 1
0
 public Custommer.Custommer getCustommer(Custommer.Custommer custommer)
 {
     Custommer.Custommer Custommer = new Custommer.Custommer();
     foreach (Custommer.Custommer c in custommers)
     {
         if (c.getId() == custommer.getId())
         {
             Custommer = c;
         }
         else
         {
             Custommer = null;
         }
     }
     return(Custommer);
 }
Ejemplo n.º 2
0
 public Adviser(int Id, string Name, string Initials, string Mail, Filial.Filial Filial, Custommer.Custommer custommer, AccessRight AccessRight)
 {
     this.id       = Id;
     this.name     = Name;
     this.initials = Initials;
     this.mail     = Mail;
     this.filial   = Filial;
     this.custommers.Add(custommer);
     this.accessRight = AccessRight;
 }
Ejemplo n.º 3
0
 public void addCustommer(Custommer.Custommer custommer)
 {
     this.custommers.Add(custommer);
 }