public bool Add(Payment payment) { payment.PaymentID = Guid.NewGuid(); payment.PaymentDate = DateTime.Now; return(_paymentManagement.Insert(payment) > 0); }
public bool Add(Payment payment) { int result = _paymentManagement.Insert(payment); return(result > 0); }