/// <summary>
        /// ConnectionString kommt aus den appsettings.json
        /// </summary>
        public UnitOfWork()
        {
            _dbContext = new ApplicationDbContext();
            Teams      = new TeamRepository(_dbContext);
            Games      = new GameRepository(_dbContext);

            MyLogger.InitializeLogger();

            var serviceProvider = _dbContext.GetInfrastructure();
            var loggerFactory   = serviceProvider.GetService <ILoggerFactory>();

            loggerFactory.AddSerilog();
        }
 /// <summary>
 /// ConnectionString kommt aus den appsettings.json
 /// </summary>
 public UnitOfWork()
 {
     _dbContext = new ApplicationDbContext();
     Teams      = new TeamRepository(_dbContext);
     Games      = new GameRepository(_dbContext);
 }