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: CS1061: 'ABC.Models.CDSCompanies' does not contain a definition for 'lstBAs' and no extension method 'lstBAs' accepting a first argument of type 'ABC.Models.CDSCompanies' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 352:                                    <li>
Line 353:                                        <h3><a href="@Url.Content("~/companies/" + @covernewsitem.cdscompanyid)">@(covernewsitem.companyname)</a></h3>
Line 354:                                        @foreach (string BA in (covernewsitem.lstBAs).Take(2)) 
Line 355:                                        {
Line 356:                                            <p class="date">

Source File: f:\WEB\ArabianBusinessCommunity\Views\Home\BusinessNewsView.cshtml    Line: 354






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