示例#1
0
 /// <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;
 }
示例#3
0
 /// <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;
 }
示例#4
0
 /// <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;
 }
示例#5
0
 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;
 }
示例#8
0
 /// <summary>
 /// Parameter that serve to connect to the database
 /// </summary>
 public TeamRepository(SmartCityContext context, ITeamBusiness teamBusiness, ITeamPlayerBusiness teamPlayerBusiness)
 {
     _context            = context;
     _teamBusiness       = teamBusiness;
     _teamPlayerBusiness = teamPlayerBusiness;
 }