public void Update(CustomerDocument model) { _context.Entry(model).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); //_context.CustomerDocuments.Attach(model); //_context.SaveChanges(); }
public void Update(TransactionType model) { _context.Entry(model).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); //_contextTransactionTypes.Attach(model); //_context.SaveChanges(); }
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(); }