private void InsertDataToAudit(SysAudit audit) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToSysAudit(audit); ctx.SaveChanges(); } }
private void InsertDataToAudit(SysAudit audit) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToSysAudit(audit); ctx.SaveChanges(); } }