public static SurveyQuestionXref MapQuestionXref(Logic.Objects.Question logicQuestion) { Data.Entities.SurveyQuestionXref contextQuestionXref = new SurveyQuestionXref() { SurveyQuestionId = logicQuestion.questionID, }; return(contextQuestionXref); }
public static SurveyQuestionXref MapQuestionXref(Question logicQuestion) { SurveyQuestionXref contextQuestionXref = new SurveyQuestionXref() { SurveyQuestionId = logicQuestion.questionID, }; return(contextQuestionXref); }
public async Task CreateSurveyQuestionXrefAsync(Guid surveyID, Guid questionID) { Data.Entities.SurveyQuestionXref contextQuestionXref = new SurveyQuestionXref() { SurveyQuestionXrefId = Guid.NewGuid(), SurveyQuestionId = questionID, SurveyId = surveyID, SortOrder = 0, IsActive = true }; await santaContext.SurveyQuestionXrefs.AddAsync(contextQuestionXref); }