public IEnumerable <ScrimEventViewModel> GetScrimEvents() { if (this.User.Identity.IsAuthenticated) { var steamId = UserExtensions.GetSteamId(this.User); var scrimEvents = _schedulingService.GetScrimEvents(steamId); var viewModels = new List <ScrimEventViewModel>(); foreach (var scrimEvent in scrimEvents) { viewModels.Add(this.GetEventViewModel(scrimEvent)); } return(viewModels); } return(null); }