public string[] SearchCaseStudyCount(SearchStudent SearchStructure) { CaseDataBase SDB = new CaseDataBase(); if (int.Parse(SDB._StaffhaveRoles[3]) == 1) { return SDB.SearchCaseStudyCount(SearchStructure, 1); } else { return new string[2] { _noRole, _errorMsg }; } }