public BattleShipService(IBoardRepo boardRepo, IMatchRepo matchRepo, IShipRepo shipRepo, IPlayerRepo playerRepo)
 {
     _boardRepo  = boardRepo;
     _matchRepo  = matchRepo;
     _shipRepo   = shipRepo;
     _playerRepo = playerRepo;
 }
示例#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;
 }
示例#4
0
 public MatchHelper(IMatchRepo match, IPropertyManager manager)
 {
     _match   = match;
     _manager = manager;
 }
示例#5
0
 public MatchTest()
 {
     matchRepo = new MatchRepo(_battleShipDbContext);
 }