Example #1
0
 public void Update(CustomerDocument model)
 {
     _context.Entry(model).State = System.Data.Entity.EntityState.Modified;
     _context.SaveChanges();
     //_context.CustomerDocuments.Attach(model);
     //_context.SaveChanges();
 }
Example #2
0
 public void Update(TransactionType model)
 {
     _context.Entry(model).State = System.Data.Entity.EntityState.Modified;
     _context.SaveChanges();
     //_contextTransactionTypes.Attach(model);
     //_context.SaveChanges();
 }
Example #3
0
 public void Update(Account model)
 {
     _context.Entry(model).State = System.Data.Entity.EntityState.Modified;
     _context.SaveChanges();
 }
 public void Update(DocumentType model)
 {
     _context.Entry(model).State = System.Data.Entity.EntityState.Modified;
     _context.SaveChanges();
 }