public GolesController() { GoleadaDBEntities contexto = new GoleadaDBEntities(); GolesService = new GolesService(contexto); JugadoresService = new JugadoresService(contexto); }
public JugadoresRepository(GoleadaDBEntities contexto) { this.contexto = contexto; }
public CantidadTotalGolesEquipoApiController() { GoleadaDBEntities contexto = new GoleadaDBEntities(); GolesService = new GolesService(contexto); }
public JugadoresService(GoleadaDBEntities contexto) { repo = new JugadoresRepository(contexto); }
public GolesDTOApiController() { GoleadaDBEntities contexto = new GoleadaDBEntities(); GolesService = new GolesService(contexto); }
public GolesService(GoleadaDBEntities contexto) { repo = new GolesRepository(contexto); }