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