Commented DepartmentFactoy dependency injection from app context which is not in use