public SwapsModel BalanceInhouse(InhouseModel inhouse) { BalancingStrategyFactory balancingStrategyFactory = new BalancingStrategyFactory(); IBalancingStrategy balancingStrategy = balancingStrategyFactory.Make(BalancingStrategy.BruteForce); return balancingStrategy.Balance(inhouse.BlueTeam, inhouse.RedTeam); }
public SwapsModel BalanceInhouse(InhouseModel inhouse) { BalancingStrategyFactory balancingStrategyFactory = new BalancingStrategyFactory(); IBalancingStrategy balancingStrategy = balancingStrategyFactory.Make(BalancingStrategy.BruteForce); return(balancingStrategy.Balance(inhouse.BlueTeam, inhouse.RedTeam)); }