public JsonResult SectionHeader(SurveyUserData model)
        {
            ISaveModel <SurveyUserData> saveEmployeeSurveyScore = new SaveEmployeeMGSurveyScore <SurveyUserData>();

            saveEmployeeSurveyScore.Save(model, _db);

            IPrepareExtendedView <SurveyUserDataReturn, SurveyUserData> prepareStartSurveyView = new PrepareSectionHeaderView <SurveyUserDataReturn, SurveyUserData>();

            prepareStartSurveyView.Parameters = model;
            SurveyUserDataReturn surveyUserDataReturn = prepareStartSurveyView.GetView(_db);

            return(getResult(surveyUserDataReturn));
        }
        public JsonResult CompleteSurveyn(SurveyUserData model)
        {
            ISaveModel <SurveyUserData> saveEmployeeSurveyScore = new SaveEmployeeMGSurveyScore <SurveyUserData>();

            saveEmployeeSurveyScore.Save(model, _db);

            ISaveModel <SurveyUserData> saveEmployeeSurveyComplete = new SaveEmployeeMGSurveyComplete <SurveyUserData>();

            saveEmployeeSurveyComplete.Save(model, _db);

            SurveyUserDataReturn surveyUserDataReturn = new SurveyUserDataReturn();

            return(getResult(surveyUserDataReturn));
        }