GetBaseCourseAdminFieldWithResponseCountsModelsFromResult(
            CourseAdminFieldsResult?result
            )
        {
            var list = new List <CourseAdminFieldWithResponseCounts>();

            if (result == null)
            {
                return(list);
            }

            var prompt1 = PromptHelper.GetBaseCourseAdminFieldWithResponseCountsModel(
                1,
                result.CourseAdminField1Prompt,
                result.CourseAdminField1Options
                );

            if (prompt1 != null)
            {
                list.Add(prompt1);
            }

            var prompt2 = PromptHelper.GetBaseCourseAdminFieldWithResponseCountsModel(
                2,
                result.CourseAdminField2Prompt,
                result.CourseAdminField2Options
                );

            if (prompt2 != null)
            {
                list.Add(prompt2);
            }

            var prompt3 = PromptHelper.GetBaseCourseAdminFieldWithResponseCountsModel(
                3,
                result.CourseAdminField3Prompt,
                result.CourseAdminField3Options
                );

            if (prompt3 != null)
            {
                list.Add(prompt3);
            }

            return(list);
        }