public void Update(JobPositionType entity)
 {
     using (var db = new ScopicAARPEntities())
     {
         db.Entry(entity).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
 }
 public void Add(JobPositionType entity)
 {
     using (var db = new ScopicAARPEntities())
     {
         db.JobPositionTypes.Add(entity);
         db.SaveChanges();
     }
 }