예제 #1
0
        public void save(PersonBO bo)
        {
            bo.Tax = CalculateTax(bo.Salary);
            PersonDAL pdl = new PersonDAL();

            pdl.Save(bo);
        }
예제 #2
0
        public static int Save(Person personToSave)
        {
            int returnValue;

            returnValue = PersonDAL.Save(personToSave);

            return(returnValue);
        }
예제 #3
0
 public void SavePerson(Person person)
 {
     PersonDAL personDal = new PersonDAL();
     personDal.Save(person);
 }