/// <summary> /// WCF method to get current User's cart data /// </summary> public static void getCart(ICswResources CswResources, CswNbtRequestDataModel.RequestCart Ret, object Request) { CswNbtResources NbtResources = _validate(CswResources); CswNbtActRequesting ActRequesting = new CswNbtActRequesting(NbtResources); ActRequesting.getCart(Ret.Data); }
/// <summary> /// WCF method to get current User's tab counts /// </summary> public static void getCartCounts(ICswResources CswResources, CswNbtRequestDataModel.RequestCart Ret, string Request) { CswNbtResources NbtResources = _validate(CswResources); CswNbtActRequesting ActRequesting = new CswNbtActRequesting(NbtResources); ActRequesting.getCart(Ret.Data, CalculateCounts: true); }