Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1579: foreach statement cannot operate on variables of type 'PlanetLiveScore.Web.Models.SportsMenuContainer' because 'PlanetLiveScore.Web.Models.SportsMenuContainer' does not contain a public definition for 'GetEnumerator'

Source Error:


Line 154:                var menuItems = PlanetLiveScore.Web.BLL.GlobalDataBLL.GetLiveFootball365SportsMenuData(sportId);
Line 155:                <ul>
Line 156:                    @foreach (var item in menuItems)
Line 157:                    {
Line 158:                        foreach (var country in item.Countries)

Source File: c:\inetpub\wwwroot\ergebnisse.de\Views\Shared\DateDropdown.cshtml    Line: 156






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4063.0