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