Exemplo n.º 1
0
 //Update
 public void Update(ReasonInbound reasonInbound)
 {
     db.Entry(reasonInbound).State = EntityState.Modified;
     Save();
 }
Exemplo n.º 2
0
 //Insert
 public void Insert(ReasonInbound reasonInbound)
 {
     db.ReasonInbounds.Add(reasonInbound);
     Save();
 }