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

Source Error:


Line 43:                         //misma logica que menu pc, para mujer.
Line 44:                         var mujer = Model.ParentCategories
Line 45:                             .Where(x => x.Active && x.Enabled && !x.Name.Contains("Ver Todos") && x.ChildCategories.Where(c => c.Active && x.Enabled).Count() < 1)
Line 46:                             .OrderBy(x => x.DisplayOrder);
Line 47:                     }

Source File: c:\inetpub\vhosts\santabohemia.com\httpdocs\Views\Shared\_SlideOutMenu.cshtml    Line: 45






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