public ValuesController(ITeamPlayerBusiness teamPlayerBusiness)
 {
     if (teamPlayerBusiness == null)
     {
         throw new ArgumentException("teamPlayerBusiness is null");
     }
     _teamPlayerBusiness = teamPlayerBusiness;
 }
Ejemplo n.º 2
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;
 }