public string[] createBookDataBase(CreateBook bookData) { AdministrationDataBase aDB = new AdministrationDataBase(); aDB.libraryFunction(); if (int.Parse(aDB._StaffhaveRoles[2]) == 1) { return aDB.createBookDataBase(bookData); } else { return new string[2] { _noRole, _errorMsg }; } }