public ValuesController(ITeamPlayerBusiness teamPlayerBusiness) { if (teamPlayerBusiness == null) { throw new ArgumentException("teamPlayerBusiness is null"); } _teamPlayerBusiness = teamPlayerBusiness; }
/// <summary> /// Parameter that serve to connect to the database /// </summary> public TeamRepository(SmartCityContext context, ITeamBusiness teamBusiness, ITeamPlayerBusiness teamPlayerBusiness) { _context = context; _teamBusiness = teamBusiness; _teamPlayerBusiness = teamPlayerBusiness; }