예제 #1
0
 public string[] searchPropertyRecordDataBaseCount(SearchPropertyRecord searchRecordData)
 {
     PropertyDataBase pDB = new PropertyDataBase();
     pDB.propertyFunction();
     if (int.Parse(pDB._StaffhaveRoles[3]) == 1)
     {
         return pDB.SearchPropertyRecordDataCount(searchRecordData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }