Ejemplo n.º 1
0
 public string[] searchBookRecordDataCount(SearchBookStatistics BookStatisticsData)
 {
     AdministrationDataBase aDB = new AdministrationDataBase();
     aDB.libraryFunction();
     if (int.Parse(aDB._StaffhaveRoles[3]) == 1)
     {
         return aDB.SearchBookRecordCount(BookStatisticsData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }