from django.urls import path

from .views import StaffListView, StaffUpdateView, StaffDetailView, StaffDeleteView, register

urlpatterns = [
  path('list/', StaffListView.as_view(), name='staff-list'),
  path('<int:pk>/', StaffDetailView.as_view(), name='staff-detail'),
  path('create/', register, name='staff-create'),
  path('<int:pk>/update/', StaffUpdateView.as_view(), name='staff-update'),
  path('<int:pk>/delete/', StaffDeleteView.as_view(), name='staff-delete'),
]
