Beispiel #1
0
        public MediatorResponse <ApprenticeshipApplicationViewModel> SendSuccessfulDecision(ApplicationSelectionViewModel applicationSelectionViewModel)
        {
            var viewModel            = _applicationProvider.SendSuccessfulDecision(applicationSelectionViewModel);
            var applicationViewModel = _applicationProvider.GetApprenticeshipApplicationViewModel(viewModel);

            applicationViewModel.ConfirmationStatusSentMessage = ApplicationViewModelMessages.SuccessfulDecisionFormat;
            return(GetMediatorResponse(ApprenticeshipApplicationMediatorCodes.SendSuccessfulDecision.Ok, applicationViewModel));
        }