Пример #1
0
 public Student AddXml(Student student)
 {
     student.Register = DateTime.Now;
     student.Age      = CalculateAge(student.DateOfBirth, student.Register);
     return(studentDao.InsertXml(student));
 }