public Order IncludeLines(CookieContext cookieContext) { OrderLines = cookieContext .OrderLines .Where(ol => ol.OrderId == Id) .Select(ol => ol.IncludCookie(cookieContext, this)) .ToList(); return(this); }
public OrderLine IncludCookie(CookieContext cookieContext, Order order) { Order = order; return(IncludCookie(cookieContext)); }
public OrderLine IncludCookie(CookieContext cookieContext) { Cookie = cookieContext.Cookies.Find(CookieId); return(this); }