Example #1
0
 public string[] SearchReceiveDataCount(SearchReceive receiveData)
 {
     OtherDataBase sDB = new OtherDataBase();
     if (int.Parse(sDB._StaffhaveRoles[3]) == 1)
     {
         return sDB.SearchReceiveCount(receiveData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }