public int UpdateTeaInfo(string getID,string getName,string getNumber,string getDept,string getDuty,string getGender) { using (OptionDataAccess optionDataAccess = new OptionDataAccess()) { try { return optionDataAccess.UpdateTeaInfo(getID,getName,getNumber,getDept,getDuty,getGender); } catch(Exception e) { Util.WriteLog(e.Message,Util.EXCEPTION_LOG_TITLE); return 0; } } }