public void addShippingPayment() { DLModel.BillingAddressID = 1; DLModel.CreatedBy = 1; DLModel.CreatedOn = System.DateTime.Now; DLModel.IsPaymentRecevied = false; DLModel.ShippingAddressID = 1; DLModel.ShippingMethodID = 1; DLModel.UserID = 171; DLModel.PaymentStatus = "Pending"; int result = _shippingPaymentBL.addShippingPayment(DLModel); Assert.IsTrue(result > 0, "Unable to Add"); }
public int addShippingPayment(DTO.ShippingPayment shippingPayment) { return(_shippingPayment.addShippingPayment(Mapper.Map <DTO.ShippingPayment, HCRGUniversity.Core.Data.Model.ShippingPayment>(shippingPayment))); }