Manage your account page has options that our application does not support, those option should be removed.
The design of the page should also be adjusted to fit the rest of the application.
Next watering date is a derived attribute, it is calculated using "LastWateredDate" + "DaysBetweenWatering". This attribute should be removed from the plant create page, edit page and delete page.
Being a derived attribute this means it also has to be generated automatically when a new plant is created or edited.
When creating or editing a plant the last watered attribute date should always be in the past or present. Users should not be able to set the last watered date in the future, they should only be able to set it in the present (todays date) or the past (days before todays date).
When a user tries to delete a friend the site crashes.
My assumption is the problem lies in the friendship model structure.
In the model friendship the UserID and UseFriendID attributes are saved as string, this might cause issues when trying to find a certain ID in the DeleteConfirmed function.
UserID and UserFriendID are saved as strings in the database.