public void AddAudit(string Text) { Audit objExecution = new Audit { Date = DateTime.Now, Text = Text }; _dbContext.Audit.Add(objExecution); _dbContext.SaveChanges(); }
public void Save() { _context.SaveChanges(); }