public ActionResult Index() { List <Fixture> fixturesForTeam = new List <Fixture>(); User currentUser = membershipService.GetUserByUserName(User.Identity.Name); // Get home fixtures for the team of the currently logged in user (current season only) if (currentUser.Team != null) { fixturesForTeam = fixtureService.GetHomeTeamFixturesForCurrentSeason(currentUser.Team.Id); } return(View(fixturesForTeam)); }