Esempio n. 1
0
        private static void SeedQandA()
        {
            List <Answer> GetAnswersForImportance()
            {
                var answers = new List <Answer>
                {
                    new Answer {
                        AnswerText = "Very important", Points = (int)AnswerMatch.FirstAnswer
                    },
                    new Answer {
                        AnswerText = "Somewhat important", Points = (int)AnswerMatch.SecondAnswer
                    },
                    new Answer {
                        AnswerText = "Not that important", Points = (int)AnswerMatch.ThirdAnswer
                    },
                    new Answer {
                        AnswerText = "Not a goal at all", Points = (int)AnswerMatch.FourthAnswer
                    },
                };

                return(answers);
            }

            List <Answer> GetAnswersForComfort()
            {
                var answers = new List <Answer>
                {
                    new Answer {
                        AnswerText = "Very comfortable", Points = (int)AnswerMatch.FirstAnswer
                    },
                    new Answer {
                        AnswerText = "Somewhat comfortable", Points = (int)AnswerMatch.SecondAnswer
                    },
                    new Answer {
                        AnswerText = "Not comfortable", Points = (int)AnswerMatch.ThirdAnswer
                    },
                    new Answer {
                        AnswerText = "Not comfortable at all", Points = (int)AnswerMatch.FourthAnswer
                    },
                };

                return(answers);
            }

            int GetFitnessPlanId(string name)
            {
                return(_fitnessPlanService.GetAll().Single(x => x.Name == name).Id);
            }

            var questionsToSeed = new List <Question>
            {
                new Question
                {
                    QuestionText     = "How long do you want your workout to be?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.ThirdAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "30 minutes - 1 hour", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "1 hour - 1.5 hours", Points = (int)AnswerMatch.SecondAnswer
                        },
                        new Answer {
                            AnswerText = "1.5 hours - 2 hours", Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new Answer {
                            AnswerText = "2+ hours", Points = (int)AnswerMatch.FourthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText     = "How many days a week do you want to workout?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FifthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FifthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.SixthAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "1", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "2", Points = (int)AnswerMatch.SecondAnswer
                        },
                        new Answer {
                            AnswerText = "3", Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new Answer {
                            AnswerText = "4", Points = (int)AnswerMatch.FourthAnswer
                        },
                        new Answer {
                            AnswerText = "5", Points = (int)AnswerMatch.FifthAnswer
                        },
                        new Answer {
                            AnswerText = "6-7", Points = (int)AnswerMatch.SixthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText     = "Are you male or female?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.SixthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SixthAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "Male", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "Female", Points = (int)AnswerMatch.SixthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText     = "How comfortable are you using dumbbells in your routine?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.ThirdAnswer
                        },
                    },
                    Answers = GetAnswersForComfort(),
                },
                new Question
                {
                    QuestionText     = "How comfortable are you using barbells in your routine?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswersForComfort(),
                },
                new Question
                {
                    QuestionText     = "Do you want machine work to be included in your routine?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FourthAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "Yes", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "Only some", Points = (int)AnswerMatch.SecondAnswer
                        },
                        new Answer {
                            AnswerText = "Not really", Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new Answer {
                            AnswerText = "No", Points = (int)AnswerMatch.FourthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText     = "How important is increasing aesthetics as a goal for you?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.SecondAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText     = "How important is gaining strength as a goal for you?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText     = "How important is lower body development (glutes, legs etc.) to you?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText     = "How important is upper body development (arms, chest, shoulders etc.) to you?",
                    PlanAnswerPoints = new List <PlanAnswerPoint>
                    {
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new PlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.SecondAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
            };

            var questions = _questionService.GetAll();

            _questionService.AddQuestions(questionsToSeed.Where(question => !questions.Any(x => x.QuestionText == question.QuestionText)).ToList());
        }
Esempio n. 2
0
        private static void SeedQandA()
        {
            List <Answer> GetAnswers()
            {
                var answers = new List <Answer>
                {
                    new Answer {
                        AnswerText = "A lot", Points = (int)AnswerMatch.FirstAnswer
                    },
                    new Answer {
                        AnswerText = "Some", Points = (int)AnswerMatch.SecondAnswer
                    },
                    new Answer {
                        AnswerText = "Not much", Points = (int)AnswerMatch.ThirdAnswer
                    },
                    new Answer {
                        AnswerText = "Not at all", Points = (int)AnswerMatch.FourthAnswer
                    },
                };

                return(answers);
            }

            List <Answer> GetAnswersForImportance()
            {
                var answers = new List <Answer>
                {
                    new Answer {
                        AnswerText = "Very important", Points = (int)AnswerMatch.FirstAnswer
                    },
                    new Answer {
                        AnswerText = "Somewhat important", Points = (int)AnswerMatch.SecondAnswer
                    },
                    new Answer {
                        AnswerText = "Not that important", Points = (int)AnswerMatch.ThirdAnswer
                    },
                    new Answer {
                        AnswerText = "Not a goal at all", Points = (int)AnswerMatch.FourthAnswer
                    },
                };

                return(answers);
            }

            int GetFitnessPlanId(string name)
            {
                return(_fitnessPlanService.GetAll().Single(x => x.Name == name).Id);
            }

            int GetVariationPlanId(string name, int days)
            {
                return(_fitnessPlanService.GetAll().Single(x => x.Name == name).VariationPlans.Single(x => x.DaysPerWeek == days).Id);
            }

            Questions = new List <Question>
            {
                new Question
                {
                    QuestionText            = "How long do you want your workout to be?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.FourthAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "30 minutes - 1 hour", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "1 hour - 1.5 hours", Points = (int)AnswerMatch.SecondAnswer
                        },
                        new Answer {
                            AnswerText = "1.5 hours - 2 hours", Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new Answer {
                            AnswerText = "2+ hours", Points = (int)AnswerMatch.FourthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText            = "How many days a week do you want to workout?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.FifthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.FifthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.SixthAnswer
                        },
                    },
                    Answers = new List <Answer>
                    {
                        new Answer {
                            AnswerText = "0-1", Points = (int)AnswerMatch.FirstAnswer
                        },
                        new Answer {
                            AnswerText = "2", Points = (int)AnswerMatch.SecondAnswer
                        },
                        new Answer {
                            AnswerText = "3", Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new Answer {
                            AnswerText = "4", Points = (int)AnswerMatch.FourthAnswer
                        },
                        new Answer {
                            AnswerText = "5", Points = (int)AnswerMatch.FifthAnswer
                        },
                        new Answer {
                            AnswerText = "6-7", Points = (int)AnswerMatch.SixthAnswer
                        },
                    }
                },
                new Question
                {
                    QuestionText            = "How much do you want to use dumbbells in your routine?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.ThirdAnswer
                        },
                    },
                    Answers = GetAnswers(),
                },
                new Question
                {
                    QuestionText            = "How much do you want to use barbells in your routine?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.FourthAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswers(),
                },
                new Question
                {
                    QuestionText            = "How important is increasing aesthetics as a goal for you?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.SecondAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText            = "How important is gaining strength as a goal for you?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText            = "How important is lower body development (glutes, legs etc.) to you?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.FirstAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
                new Question
                {
                    QuestionText            = "How important is upper body development (arms, chest, shoulders etc.) to you?",
                    FitnessPlanAnswerPoints = new List <FitnessPlanAnswerPoint>
                    {
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(GZCLP), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StartingStrength), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongLifts), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(StrongCurves), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(StrongCurves, 4), Points = (int)AnswerMatch.ThirdAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(ThinnerLeanerStronger), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 4), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(ThinnerLeanerStronger, 5), Points = (int)AnswerMatch.FirstAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(DumbbellOnlyBasics), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetFitnessPlanId(TwoSuns), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 5), Points = (int)AnswerMatch.SecondAnswer
                        },
                        new FitnessPlanAnswerPoint {
                            FitnessPlanId = GetVariationPlanId(TwoSuns, 6), Points = (int)AnswerMatch.SecondAnswer
                        },
                    },
                    Answers = GetAnswersForImportance(),
                },
            };

            var questions = _questionService.GetAll();

            _questionService.AddQuestions(Questions.Where(question => !questions.Any(x => x.QuestionText == question.QuestionText)).ToList());
        }