Ejemplo n.º 1
0
        public RobotGameRepository(RobotGameDbContext ctx = null)
        {
            _ctx = ctx ?? new RobotGameDbContext();
			_userManager = new UserManager<HumanPlayer>(new UserStore<HumanPlayer>(_ctx));
        }
Ejemplo n.º 2
0
 public GamesController()
 {
     _ctx  = new RobotGameDbContext();
     _repo = new RobotGameRepository(_ctx);
 }
Ejemplo n.º 3
0
		public GamesController()
		{
			_ctx = new RobotGameDbContext();
			_repo = new RobotGameRepository(_ctx);
		}