Exemplo n.º 1
0
 public BattleController()
 {
     this.battlemonContext = new BattlemonContext();
     battlemonRepo         = new BattlemonRepo(battlemonContext);
     opponentRepo          = new OpponentRepo(opponentContext);
 }
Exemplo n.º 2
0
 //public BattlemonController(IBattlemonInterface context)
 //{
 //  this.context = context;
 //battlemonRepo = new BattlemonRepo(context);
 //}
 public BattlemonController()
 {
     this.context  = new BattlemonContext();
     battlemonRepo = new BattlemonRepo(context);
 }
Exemplo n.º 3
0
 public UnitTest1()
 {
     testUserContext = new TestUserContext();
     battlemonRepo   = new BattlemonRepo(new TestBattlemonContext());
 }