CSUMB-SP17-CST499 / Group-Assignment-Tool

0 stars 3 forks source link

Refactor employee delete code #118

Closed eliasargandara closed 7 years ago

eliasargandara commented 7 years ago

Description: I refactored the employees API DELETE methods to have one for deleting an individual employee and one for deleting multiple employees.

Test plan:

  1. Visit the employees page and then go the the add page
  2. Add three new employees (Details don't matter)
  3. Go back to the employee page
  4. Remove one of the new employee (page needs to be reloaded manually) i. The green banner should say 'User deleted successfully'
  5. Remove the two other new employees (page still needs to be reloaded manually) i. The green banner should say 'Users deleted successfully'