示例#1
0
 public static ShoppingCart GetCart(MusicStoreContext db, string cartId)
 => new ShoppingCart(db, cartId);
示例#2
0
 public static ShoppingCart GetCart(MusicStoreContext db, HttpContext context)
 => GetCart(db, GetCartId(context));