/// <summary> /// Parameter that serve to connect to the database /// </summary> public GameRepository(SmartCityContext context, IGameBusiness gameBusiness, IPlayBusiness playBusiness, ITeamBusiness teamBusiness) { _context = context; _gameBusiness = gameBusiness; _playBusiness = playBusiness; _teamBusiness = teamBusiness; }
public HomeController(IPlayerBusiness _playerBusiness, ITeamBusiness _teamBusiness, IPlayerSkillBusiness _playerSkillBusiness, IImageBusiness _imageBusiness) { playerBusiness = _playerBusiness; teamBusiness = _teamBusiness; playerSkillBusiness = _playerSkillBusiness; imageBusiness = _imageBusiness; }
/// <summary> /// Parameter that serve to connect to the database /// </summary> public PlayerRepository(SmartCityContext context, ITeamBusiness teamBusiness, ICryption cryption, IPlayerBusiness playerBusiness, IImageBusiness imageBusiness) { _context = context; _teamBusiness = teamBusiness; _cryption = cryption; _playerBusiness = playerBusiness; _imageBusiness = imageBusiness; }
/// <summary> /// Parameter that serve to connect to the database /// </summary> public RouteRepository(SmartCityContext context, IGameRepository gameRepository, IRouteBusiness routeBusiness, ITeamBusiness teamBusiness, IRouteStepBusiness routeStepBusiness, IRouteTagBusiness routeTagBusiness) { _context = context; _routeBusiness = routeBusiness; _teamBusiness = teamBusiness; _gameRepository = gameRepository; _routeStepBusiness = routeStepBusiness; _routeTagBusiness = routeTagBusiness; }
public GameSetUpController(IGameBusiness business, ITeamBusiness teamBusiness, IMapper mapper) { _business = business; _teamBusiness = teamBusiness; _mapper = mapper; }
public PlayerController(IPlayerBusiness _playerBusiness, ITeamBusiness _teamBusiness, IPlayerSkillBusiness _playerSkillBusiness) { playerBusiness = _playerBusiness; teamBusiness = _teamBusiness; playerSkillBusiness = _playerSkillBusiness; }
public TeamController(ITeamBusiness _teamBusiness, IPlayerBusiness _playerBusiness, IPlayerSkillBusiness _playerSkillBusiness) { teamBusiness = _teamBusiness; playerBusiness = _playerBusiness; playerSkillBusiness = _playerSkillBusiness; }
/// <summary> /// Parameter that serve to connect to the database /// </summary> public TeamRepository(SmartCityContext context, ITeamBusiness teamBusiness, ITeamPlayerBusiness teamPlayerBusiness) { _context = context; _teamBusiness = teamBusiness; _teamPlayerBusiness = teamPlayerBusiness; }