public BattleShipService(IBoardRepo boardRepo, IMatchRepo matchRepo, IShipRepo shipRepo, IPlayerRepo playerRepo)
 {
     _boardRepo  = boardRepo;
     _matchRepo  = matchRepo;
     _shipRepo   = shipRepo;
     _playerRepo = playerRepo;
 }
Ejemplo n.º 2
0
 public PropertyController(IPropertyManager manager, IMatchRepo match)
 {
     _manager     = manager;
     _match       = match;
     _matchHelper = new MatchHelper(match, manager);
 }
 public MatchBusinessLogic(IMatchRepo matchRepo, IMapper mapper)
 {
     _matchRepo = matchRepo;
     _mapper    = mapper;
 }
Ejemplo n.º 4
0
 public MatchHelper(IMatchRepo match, IPropertyManager manager)
 {
     _match   = match;
     _manager = manager;
 }
Ejemplo n.º 5
0
 public MatchTest()
 {
     matchRepo = new MatchRepo(_battleShipDbContext);
 }