Exemplo n.º 1
0
        public MagicHttpController()
        {
            var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
            var dataContext      = new Magic.Data.DataContextWrapper(connectionString);

            _gameLog = new Magic.Data.GameLog(dataContext);
        }
Exemplo n.º 2
0
 public Logger(DataContextWrapper dataContext)
 {
     this.dataContext = dataContext;
 }