the simple final project

my simple final project
There has to be a better way to see if there are no records in the database other than loading all of them into a list.