Пример #1
0
        public MediatorResponse DismissTraineeshipPrompts(Guid candidateId)
        {
            if (_accountProvider.DismissTraineeshipPrompts(candidateId))
            {
                return(GetMediatorResponse(AccountMediatorCodes.DismissTraineeshipPrompts.SuccessfullyDismissed));
            }

            return(GetMediatorResponse(AccountMediatorCodes.DismissTraineeshipPrompts.ErrorDismissing, MyApplicationsPageMessages.DismissTraineeshipPromptsFailed, UserMessageLevel.Error));
        }