Mar 25, 2012 at 9:25 AM
Edited Mar 25, 2012 at 9:26 AM
I do use the WebShop Blog from
sfmskywalker (thanks to him) as base for my Module.
I want extend the process if a user logs on and he has no CustomerPart or AddressPart that this get created for him.
I try to extend the CheckoutController.cs on the SelectAddress Function with following code part:
customer = currentUser.ContentItem.As<CustomerPart>();
(customer.FirstName == null
But what i Need to call to create the entry inside the database? If i try like this:
I get a Error : SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Thanks for any help