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

            pdl.Save(bo);
        }
        public static int Save(Person personToSave)
        {
            int returnValue;

            returnValue = PersonDAL.Save(personToSave);

            return(returnValue);
        }
 public void SavePerson(Person person)
 {
     PersonDAL personDal = new PersonDAL();
     personDal.Save(person);
 }