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: CS1501: No overload for method 'AddItem' takes 2 arguments

Source Error:


Line 225:            {               
Line 226:                // Add the product to the shopping cart
Line 227:                ShoppingCartAccess.AddItem(productId, dogDetails);
Line 228:                Response.Redirect(ViewState["PreviousPage"].ToString());
Line 229:            }

Source File: d:\Plesk\Vhosts\haveadogday.co.uk\httpdocs\Product.aspx.cs    Line: 227






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