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