User Story

As a user,

I want to see the list of departments.

API Calls

departments

returns list of Departments.

createDepartment(department)

returns new Department entity.

updateDepartment(department)

returns updated Department.

deleteDepartment(department)

returns number of deleted entities.

User Interface

Departments Page

Acceptance Criteria

AC-1 Page is available at /departments
AC-1.1 Any authorised user can see this page
AC-2 There is a list of departments in a form of table
AC-2.1 Display department name
AC-2.2 Can search by name
AC-2.3 Can sort by name
AC-3 Admin can create new department
AC-4 Admin can update department
AC-5 Admin can delete department