Exemplo n.º 1
0
        public ByeWeekController()
        {
            var context = new FantasyVBDEntities();

            TeamByeWeekRepo = new TeamByeWeekRepository(context);
            LeagueYearRepo  = new LeagueYearRepository(context);
            ByeWeekMapper   = new AutoMapperHelper <List <Models.ByeWeekModel>, IList <DataAccess.TeamByeWeek> >();
        }
Exemplo n.º 2
0
        public DraftPickController()
        {
            var context = new FantasyVBDEntities();

            DraftPickRepo            = new DraftPickRepository(context);
            LeagueYearRepo           = new LeagueYearRepository(context);
            LeagueYearDraftOrderRepo = new LeagueYearDraftOrderRepository(context);
            TradeRepo        = new TradeRepository(context);
            DraftPickkMapper = new AutoMapperHelper <List <Models.DraftPickModel>, IList <DataAccess.DraftPick> >();
            numberOfRounds   = 16;
        }