Example #1
0
        public Order IncludeLines(CookieContext cookieContext)
        {
            OrderLines = cookieContext
                         .OrderLines
                         .Where(ol => ol.OrderId == Id)
                         .Select(ol => ol.IncludCookie(cookieContext, this))
                         .ToList();

            return(this);
        }
Example #2
0
 public OrderLine IncludCookie(CookieContext cookieContext, Order order)
 {
     Order = order;
     return(IncludCookie(cookieContext));
 }
Example #3
0
 public OrderLine IncludCookie(CookieContext cookieContext)
 {
     Cookie = cookieContext.Cookies.Find(CookieId);
     return(this);
 }