Beispiel #1
0
        protected TestFixtureBase()
        {
            Context = GamesContextFactory.Create();

            var configProvider = new MapperConfiguration(cfg => { cfg.AddProfile <GamesProfile>(); });

            Mapper = configProvider.CreateMapper();
        }
Beispiel #2
0
 public void Dispose()
 {
     GamesContextFactory.Destroy(Context);
 }