public UserProfile(string userName) { LastProductsViewed = new LazyList <Product>(); LastCategoriesViewed = new LazyList <Category>(); Recommended = new LazyList <Product>(); AddressBook = new LazyList <Address>(); this.UserName = userName; }
public Order(string orderNumber, string userName) { this.OrderNumber = orderNumber; this.UserName = userName; this.Status = OrderStatus.NotCheckoutOut; this.Items = new LazyList <OrderItem>(); this.IncentivesUsed = new LazyList <IIncentive>(); this.ID = Guid.NewGuid(); this.DiscountAmount = 0; this.DiscountReason = "--"; }