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 '(List<M_Sayfalar> sayfalar, M_Sayfalar sayfa)' because '(List<M_Sayfalar> sayfalar, M_Sayfalar sayfa)' does not contain a public instance definition for 'GetEnumerator'

Source Error:


Line 47:                 @Html.Action("Arama", "Shared")
Line 48:             </div>
Line 49:             @foreach (var item in Model)
Line 50:             {
Line 51:                 <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12 my-2">

Source File: d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml    Line: 49






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