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)); }
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)); }