public GetCartId ( Microsoft.AspNet.Http.HttpContext context ) : string | ||
context | Microsoft.AspNet.Http.HttpContext | |
리턴 | string |
public static ShoppingCart GetCart(IPartsUnlimitedContext db, HttpContext context) { var cart = new ShoppingCart(db); cart.ShoppingCartId = cart.GetCartId(context); return(cart); }
public static ShoppingCart GetCart(IPartsUnlimitedContext db, IProductsRepository productsRepository, HttpContext context) { var cart = new ShoppingCart(db, productsRepository); cart.ShoppingCartId = cart.GetCartId(context); return(cart); }
public static ShoppingCart GetCart(IPartsUnlimitedContext db, HttpContextBase context) { var cart = new ShoppingCart(db); cart.ShoppingCartId = cart.GetCartId(context); return cart; }