Closed davischristianson closed 3 months ago
Also there is a SQL error that happens when you're on the create staff page when you don't fill in the Name field in the About/CreateStaff view. Everything else can filled but if the Name field isn't then it still breaks. Didn't see an issue for this on the repository, might be worth looking into!
Before:
After:
Just added the required keyword to the Email property inside of the People class. However nulls can still be added to the database through the Email property. No errors when leaving the Email field blank on the web form and submitting it and it gets passed as a null.
Closes #305