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

Source Error:


Line 55:             Label LBLID = e.Item.FindControl("LBLID") as Label;
Line 56: 
Line 57:             List<SpecialityImageSubModel> list = s.SpecialityImage.getall().Where(c => c.Subp.SpecialityProcedureId == Convert.ToInt32(LBLID.Text)).GroupBy(c => new { c.Subp.Title }).Select(c => c.FirstOrDefault()).ToList();
Line 58:             if (list.Count > 0)
Line 59:             {

Source File: c:\inetpub\vhosts\sportsmedicinedhrumil.com\httpdocs\SubSpecialityImages.aspx.cs    Line: 57






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