public void TrackCreation(Game game) { var history = new GameChangeHistory(); //Mapper.Map(game, history); _context.GameChangeHistories.Add(history); }
public void TrackModification(Game game, User modifier, string note) { var history = new GameChangeHistory(); //Mapper.Map(game, history); // if changer != owner, send email ... always include note _context.GameChangeHistories.Add(history); }