public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
 {
     answers.InformationAndCommunicationBeforeVisit = InformationAndCommunicationBeforeVisit?.Rating;
     answers.AskDeliveryPartnerWhoVisited           = AskDeliveryPartnerWhoVisited?.Rating;
     answers.ActivitiesDelivered = ActivitiesDelivered?.Rating;
     return(answers);
 }
예제 #2
0
 public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
 {
     answers.RaisingKnowledgeAndAwareness               = RaisingKnowledgeAndAwareness?.Rating;
     answers.DemonstratingTheRangeAndOptions            = DemonstratingTheRangeAndOptions?.Rating;
     answers.ExplainingApplicationAndRecruitmentProcess = ExplainingApplicationAndRecruitmentProcess?.Rating;
     return(answers);
 }
예제 #3
0
 public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
 {
     answers.DemonstratingDifferentTypesOfEmployers = DemonstratingDifferentTypesOfEmployers?.Rating;
     answers.IncreasingAwarenessOfHigherAndDegree   = IncreasingAwarenessOfHigherAndDegree?.Rating;
     answers.MakingStaffMoreConfident = MakingStaffMoreConfident?.Rating;
     return(answers);
 }
        public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
        {
            answers.BestThingsAboutYourVisit          = BestThingsAboutYourVisit;
            answers.WhatCouldBeImprovedAboutYourVisit = WhatCouldBeImprovedAboutYourVisit;
            answers.AddAnyOtherComments = AddAnyOtherComments;

            return(answers);
        }
        public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
        {
            answers.WouldYouRecommendAskVisits = WouldYouRecommendAskVisits;

            answers.WouldNotRecommendAskVisitsComments = answers.WouldYouRecommendAskVisits == "Yes" ? "" : WouldNotRecommendAskVisitsComments;

            return(answers);
        }
        public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
        {
            answers.TypeOfSupportInTheFuture = new TypeOfSupportInTheFuture()
            {
                SupportForStudents           = SupportForStudents,
                ContactWithTrainingProviders = ContactWithTrainingProviders,
                GuestSpeakers = GuestSpeakers,
                StaffCpd      = StaffCpd,
                Resources     = Resources,
                Other         = Other,
                OtherDetails  = OtherDetails,
            };

            return(answers);
        }
        public FeedbackAnswers ToFeedbackAnswers(FeedbackAnswers answers)
        {
            answers.ApprenticeOrEmployerParticipateInVisit = ApprenticeOrEmployerParticipateInVisit;

            if (answers.ApprenticeOrEmployerParticipateInVisit == "No")
            {
                answers.ApprenticeOrEmployerParticipationRating = null;
                answers.ApprenticeOrEmployerParticipateComments = "";
            }
            else
            {
                answers.ApprenticeOrEmployerParticipationRating = ApprenticeOrEmployerParticipationRating.Rating;
                answers.ApprenticeOrEmployerParticipateComments = ApprenticeOrEmployerParticipateComments;
            }

            return(answers);
        }
예제 #8
0
 public SaveVisitFeedbackRequest(Guid feedbackId, FeedbackAnswers feedbackAnswers)
 {
     FeedbackId      = feedbackId;
     FeedbackAnswers = feedbackAnswers;
 }