public TInvoiceH UpdateTInvoiceH(TInvoiceH tinvoiceh) { dbContext.Entry(tinvoiceh).State = EntityState.Modified; dbContext.SaveChanges(); return(tinvoiceh); }
public TInvoiceD UpdateTInvoiceD(TInvoiceD tinvoiced) { dbContext.Entry(tinvoiced).State = EntityState.Modified; dbContext.SaveChanges(); return(tinvoiced); }