public BattleController() { this.battlemonContext = new BattlemonContext(); battlemonRepo = new BattlemonRepo(battlemonContext); opponentRepo = new OpponentRepo(opponentContext); }
//public BattlemonController(IBattlemonInterface context) //{ // this.context = context; //battlemonRepo = new BattlemonRepo(context); //} public BattlemonController() { this.context = new BattlemonContext(); battlemonRepo = new BattlemonRepo(context); }
public UnitTest1() { testUserContext = new TestUserContext(); battlemonRepo = new BattlemonRepo(new TestBattlemonContext()); }