public static void Add(PersonalSurvey survey) { DBContext.Current.Add<PersonalSurvey>(survey); }
public static void Update(PersonalSurvey survey, UpdateDefinition<PersonalSurvey> update) { DBContext.Current.Update<PersonalSurvey>(x => x.id == survey.id, update); }