コード例 #1
0
 public string[] setApplyPropertyDetail(PropertyDetailData PropertyDetail)
 {
     PropertyDataBase pDB = new PropertyDataBase();
     pDB.applyFunction();
     if (int.Parse(pDB._StaffhaveRoles[1]) == 1)
     {
         return pDB.setApplyPropertyDetail(PropertyDetail);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }