public void UpdateDivition(Models.Divition dv) { userEntities.Entry(dv).State = System.Data.Entity.EntityState.Modified; userEntities.SaveChanges(); }
public void InserDivition(Models.Divition dv) { userEntities.Divitions.Add(dv); userEntities.SaveChanges(); }