careless-gazelles / Bangazon-Site

0 stars 1 forks source link

delete PaymentType #43

Closed joeybiotti closed 7 years ago

joeybiotti commented 7 years ago

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

git fetch --all
git checkout jb-deletePaymentType
git pull origin jb-deletePaymentType

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