public async Task <List <ApprenticeshipIncentiveOutput> > Get([ActivityTrigger] object input)
        {
            _logger.LogInformation($"Getting all Apprenticeship Incentives");
            var response = await _queryDispatcher.Send <GetApprenticeshipIncentivesRequest, GetApprenticeshipIncentivesResponse>(new GetApprenticeshipIncentivesRequest());

            _logger.LogInformation($"{response.ApprenticeshipIncentives.Count} returned");
            return(response.ApprenticeshipIncentives.Select(x => new ApprenticeshipIncentiveOutput {
                Id = x.Id, ULN = x.ULN
            }).ToList());
        }
 protected Task <TResult> QueryAsync <TQuery, TResult>(TQuery query) where TQuery : IQuery
 {
     return(_queryDispatcher.Send <TQuery, TResult>(query));
 }