public HomeController(IHandService handService, IPlayerService playerService, IEvaluatorService evaluatorService, IRoundService roundService) { _handService = handService; _playerService = playerService; _evaluatorService = evaluatorService; _roundService = roundService; }
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); }
public ApiController(IHandService service) { _service = service; }
public HomeController(IHandService handService, IMapper mapper) { _handService = handService; _mapper = mapper; }
public HandsViewModel(IHandService handService) { _handService = handService; }