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: CS0103: The name 'ViewBag' does not exist in the current context

Source Error:


Line 1:  @{
Line 2:      ViewBag.Title = "A75CreditCardMachine";
Line 3:      Layout = "~/Views/Shared/_MainLayout.cshtml";
Line 4:  }

Source File: d:\LiveSites\MerePos\Views\AndroidPOSMachine\A75CreditCardMachine.cshtml    Line: 2






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