extract the logic of the assignment to a service so it can be easy unit tested
Merge branch 'master' of github.com:ministryofjustice/parliamentary-questions