When user is logged in, "My Settings" is now displayed in the navbar. When clicked, the user is able to view all saved payment types. User can click on the delete button and remove the payment type from the database. If the payment type has been used in a prior order, the payment type will be considered active and is cannot be removed from the database.
Todos (Checkmark what has been completed)
[ ] Tests
[ ] Documentation
Steps to Test or Reproduce
database will need to be updated before you can test
List general components of the application that this PR will affect:
BangazonSite/Views/Shared/_LoginPartial.cshtml
BangazonSite/Models/PaymentType.cs
BangazonSite/Controllers/PaymentTypeController.cs
Status
Choose: IN DEVELOPMENT
When user is logged in, "My Settings" is now displayed in the navbar. When clicked, the user is able to view all saved payment types. User can click on the delete button and remove the payment type from the database. If the payment type has been used in a prior order, the payment type will be considered active and is cannot be removed from the database.
Todos (Checkmark what has been completed)
Steps to Test or Reproduce
database will need to be updated before you can test
Impacted Areas in Application
List general components of the application that this PR will affect: BangazonSite/Views/Shared/_LoginPartial.cshtml BangazonSite/Models/PaymentType.cs BangazonSite/Controllers/PaymentTypeController.cs