public int InsertNewStudentForGradeChange(string stuName,int stuGrade,int stuClass,string stuType) { using ( OptionDataAccess optionDataAccess = new OptionDataAccess() ) { try { return optionDataAccess.InsertNewStudentForGradeChange(stuName,stuGrade,stuClass,stuType); } catch(Exception e) { Util.WriteLog(e.Message,Util.EXCEPTION_LOG_TITLE); return -1; } } }