refactoring EnrollmentController.cs to use uow