Beispiel #1
0
        public int AddStudent(Student student)
        {
            int result = 0;

            try
            {
                if (ValidateAddStudent(student))
                {
                    result = dal.AddStudent(student);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(result);
        }