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

Source Error:


Line 6:  @if (Model != null && Model.ModelData != null)
Line 7:  {
Line 8:  <div class="ticket mb10 mt10 p10 mr10 ml10 bgWhite bdLGray" ticket-id="@Model.Id" ticket-tag="@(Model.Categories == null ? "" : string.Join(",", Model.Categories.ToArray()))" ticket-location="@Model.ModelData.Location.Code" ticket-source="@Model.ModelData.StoreId">
Line 9:              <ul>
Line 10:                 @if (ViewBag.AppContext.CanManageProduct)

Source File: e:\Web\BazaAdminV2.5\Views\Ticket\SearchListItemB.cshtml    Line: 8






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