public void addEducationShoppingRecordByShippingPaymentID(int _shippingPaymentID) { IEnumerable <EducationShoppingCart> _educationShoppingCart = _educationShoppingTempRepository.GetEducationShoppingTempByShippingPaymentID(_shippingPaymentID).ToList(); if (_educationShoppingCart.Count() > 0) { AddEducationShoppingOrder(_educationShoppingCart); _educationShoppingTempBL.DeleteEducationShoppingCartByShippingPaymentID(_shippingPaymentID); // _educationShoppingTempBL.DeleteProductShoppingCartByShippingPaymentID(_shippingPaymentID); } }
public IEnumerable <DLModel.EducationShoppingCart> GetEducationShoppingTempByShippingPaymentID(int _shippingPaymentID) { return(_educationShoppingTempRepository.GetEducationShoppingTempByShippingPaymentID(_shippingPaymentID).ToList()); }