public void Atualizar(sosportalcontato_Dommain dommain) { this._context.Entry(dommain).State = System.Data.Entity.EntityState.Modified; this._context.SaveChanges(); }
public void Salvar(sosportalcontato_Dommain dommain) { this._context.sosportalcontatoes.Add(dommain); this._context.SaveChanges(); }