예제 #1
0
        public async Task <Unit> Handle(UpdateApplicationCommand command, CancellationToken cancellationToken)
        {
            var apprenticeships = await _commitmentsService.GetApprenticeshipDetails(command.AccountId, command.ApprenticeshipIds);

            var request = CreateIncentiveApplicationRequest(command, apprenticeships);

            await _employerIncentivesService.UpdateIncentiveApplication(request);

            return(Unit.Value);
        }