Exemplo n.º 1
0
        public void TrackCreation(Game game)
        {
            var history = new GameChangeHistory();

            //Mapper.Map(game, history);

            _context.GameChangeHistories.Add(history);
        }
Exemplo n.º 2
0
        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);
        }