Пример #1
0
 public string[] setPropertyAnnexDataBase2(CreatePropertyRecord propertyRecordData)
 {
     PropertyDataBase pDB = new PropertyDataBase();
     pDB.propertyFunction();
     if (int.Parse(pDB._StaffhaveRoles[1]) == 1)
     {
         return pDB.setPropertyAnnexDataBase(propertyRecordData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }