Exemplo n.º 1
0
        public void Insert(string adress, string sex, string phone, string name)
        {
            HairStyle   hs = new HairStyle(this.adress, this.sex, this.phone, this.name);
            BarberModel bm = new BarberModel();

            if (bm.validate(hs))
            {
                bm.Insert(hs);
            }
        }
Exemplo n.º 2
0
 public bool validate(HairStyle hs)
 {
     return(true);
 }
Exemplo n.º 3
0
 public bool Insert(HairStyle hs)
 {
     return(validate(hs));
 }