Example #1
0
 public string[] setBookData1(SearchBookResult bookDataResult)
 {
     AdministrationDataBase aDB = new AdministrationDataBase();
     aDB.libraryFunction();
     if (int.Parse(aDB._StaffhaveRoles[1]) == 1)
     {
         return aDB.setBookData1(bookDataResult);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }