public string[] setHearingAssessmentDataBase(CreateHearingAssessment StructData) { Audiometry aDB = new Audiometry(); if (int.Parse(aDB._StaffhaveRoles[1]) == 1) { return aDB.setHearingAssessmentData(StructData); } else { return new string[2] { _noRole, _errorMsg }; } }