Example #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);
            }
        }
Example #2
0
 public bool validate(HairStyle hs)
 {
     return(true);
 }
Example #3
0
 public bool Insert(HairStyle hs)
 {
     return(validate(hs));
 }