public EvaluatorService(IHandService handService, IRoundService roundService, IGroupService groupService, IPlayerGroupService playerGroupService) { _handService = handService; _roundService = roundService; _groupService = groupService; _playerGroupService = playerGroupService; }
public void Setup() { _handService = new HandService(new PlayNGoDBEntities()); _playerService = new PlayerService(new PlayNGoDBEntities()); _roundService = new RoundService(new PlayNGoDBEntities()); _groupService = new GroupService(new PlayNGoDBEntities()); _playerGroupService = new PlayerGroupService(new PlayNGoDBEntities()); _evaluatorService = new EvaluatorService(_handService, _roundService, _groupService, _playerGroupService); }