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

Source Error:


Line 78:                     CreditCard cc = new CreditCard();
Line 79:                     cc.WebUserId = user.Id;
Line 80:                     cc.GetUserDefault();
Line 81: 
Line 82:                     if (cc.Id != -1 && !user.VerifyValidCreditCard())

Source File: \\fs01\webcontent\wwwroot\gottahaverockandroll.com\wwwroot\mobile\Login.aspx.cs    Line: 80






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