Corrected DepartmentRepository