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: CS0117: 'BAL.Department' does not contain a definition for 'USMLECoaching'

Source Error:


Line 281:            List<ManageDepartment> lstDepartment = objDepartment.GetDepartmentLst();
Line 282:
Line 283:            MainBodyMessage = MainBodyMessage.Replace("@@MokshSupportEmail", lstDepartment.Where(x => x.DepartmentID == Convert.ToInt32(Department.USMLECoaching)).FirstOrDefault().EmailID);
Line 284:            MainBodyMessage = MainBodyMessage.Replace("@@MokshSupportNumber", lstDepartment.Where(x => x.DepartmentID == Convert.ToInt32(Department.USMLECoaching)).FirstOrDefault().MobileNo);
Line 285:            MainBodyMessage = MainBodyMessage.Replace("@@MokshAccountDeptContact", lstDepartment.Where(x => x.DepartmentID == Convert.ToInt32(Department.USMLECoaching)).FirstOrDefault().MobileNo);

Source File: c:\inetpub\wwwroot\moksh16.in\app.moksh16.in\application-centre\pre-registration-germany.aspx.cs    Line: 283






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