Fix method GetNameByID in DataBase