예제 #1
0
        public void TrackCreation(Game game)
        {
            var history = new GameChangeHistory();

            //Mapper.Map(game, history);

            _context.GameChangeHistories.Add(history);
        }
예제 #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);
        }