Exemple #1
0
        public ActionResult Index(int page = 1, int page_size = 15, int?match_id = null, string season_id = null)
        {
            var dao   = new match_goal_dao();
            var model = dao.ListMatchGoal_ByMatchSeason(ref match_id, ref season_id, page, page_size);

            //setting list season for dropdownlist
            SetListSeason(season_id);

            ViewBag.Match = match_id;
            return(View(model));
        }