public static void Update(Employer survey, UpdateDefinition<Employer> update) { DBContext.Current.Update<Employer>(x => x.id == survey.id, update); }
public static IEnumerable<Employer> Find(Employer employer) { return employers.AsQueryable().Where(x => employer.id == x.id); }
public static void Add(Employer employer) { DBContext.Current.Add<Employer>(employer); }
public EmpMismatch(List<PersonalSurvey> plist, Employer employer) { _plist = plist; _employer = employer; }