예제 #1
0
        public Student Get(int id)
        {
            StudentFactory objBusinessStudent = new StudentFactory();
            Student        result             = new Student();

            result = objBusinessStudent.GetStudentById(id);
            return(result);
        }
예제 #2
0
        public Student GetStudentById(int id)
        {
            Student        s1;
            StudentFactory s = new StudentFactory();

            s1 = s.GetStudentById(id);
            return(s1);
        }