Implementation of departments CRUD and initial Optimistic Concurrency Handling