コード例 #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
ファイル: BarberModel.cs プロジェクト: matan25/matan
 public bool validate(HairStyle hs)
 {
     return(true);
 }
コード例 #3
0
ファイル: BarberModel.cs プロジェクト: matan25/matan
 public bool Insert(HairStyle hs)
 {
     return(validate(hs));
 }