// GET: Stadion
        public ActionResult Index()
        {
            stadionService = new StadionService();
            var stadions = stadionService.All();

            // we geven de lijst stadions mee aan de view
            return(View(stadions));
        }
示例#2
0
 public ClubController(IMapper mapper)
 {
     _mapper           = mapper;
     clubService       = new ClubService();
     vakService        = new VakService();
     stadionService    = new StadionService();
     stadionVakService = new StadionVakService();
 }
 public WedstrijdController(IMapper mapper)
 {
     _mapper           = mapper;
     wedstrijdService  = new WedstrijdService();
     vakService        = new VakService();
     clubService       = new ClubService();
     stadionService    = new StadionService();
     stadionVakService = new StadionVakService();
 }
 public StadionController(IMapper mapper)
 {
     _mapper         = mapper;
     _stadionService = new StadionService();
 }
 public WedstrijdController(IMapper mapper)
 {
     _wedstrijdService = new WedstrijdService();
     _stadionService   = new StadionService();
     _mapper           = mapper;
 }