Ejemplo n.º 1
0
        public PartialViewResult ChildTournament(int id = 0)
        {
            IEnumerable <Tournament> tournamentes = navigationProvider.GetTournamentes();

            var model = from t in tournamentes
                        where t.SportId == id
                        select t;

            return(PartialView(model));
        }