README for habit_tracker Github repository
This repository contains a simple console application that allows the user to track their beer consumption. The application is written in C# and uses Microsoft.Data.Sqlite library for data storage.
The application will display a menu with the following options:
- View all records
- Insert a record
- Delete a record
- Update a record
- Total beers drank
To select an option, type the corresponding number and press Enter.
This option displays all the records of beer consumption in the database. The records include the date and the quantity of beer consumed.
This option allows the user to add a new record to the database. The user is prompted to enter the date and the quantity of beer consumed.
This option allows the user to delete a record from the database. The user is prompted to enter the ID of the record to be deleted.
This option allows the user to update a record in the database. The user is prompted to enter the ID of the record to be updated, as well as the new date and quantity of beer consumed.
This option displays the total quantity of beer consumed by the user.