public void Update(T pObject) { using (JobFinderDbContext context = new JobFinderDbContext()) { context.Entry(pObject).State = EntityState.Modified; context.SaveChanges(); } }