public MagicHttpController() { var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString; var dataContext = new Magic.Data.DataContextWrapper(connectionString); _gameLog = new Magic.Data.GameLog(dataContext); }
public Logger(DataContextWrapper dataContext) { this.dataContext = dataContext; }