Пример #1
0
        public GolesController()
        {
            GoleadaDBEntities contexto = new GoleadaDBEntities();

            GolesService     = new GolesService(contexto);
            JugadoresService = new JugadoresService(contexto);
        }
 public GolesController()
 {
     golesService   = new GolesService <GolesPorJugadorEquipo>(context);
     jugadorService = new JugadoresService <Jugador>(context);
 }
Пример #3
0
        public CantidadTotalGolesEquipoApiController()
        {
            GoleadaDBEntities contexto = new GoleadaDBEntities();

            GolesService = new GolesService(contexto);
        }
        public CantidadTotalGolesEquipoApiController()
        {
            ea2Context context = new ea2Context();

            golesService = new GolesService <GolesPorJugadorEquipo>(context);
        }
Пример #5
0
        public GolesDTOApiController()
        {
            GoleadaDBEntities contexto = new GoleadaDBEntities();

            GolesService = new GolesService(contexto);
        }