public bool UpdateStudentForGradeChange(string getName,int getGrade,int getClass,string getType) { using ( OptionDataAccess optionDataAccess = new OptionDataAccess() ) { bool rtnValue = false; try { int isStudentExisits = optionDataAccess.UpdateStudentForGradeChange(getName,getGrade,getClass,getType); if ( isStudentExisits != 0 ) rtnValue = true; else rtnValue = false; } catch(Exception e) { Util.WriteLog(e.Message,Util.EXCEPTION_LOG_TITLE); rtnValue = false; } return rtnValue; } }