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

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