Exemplo n.º 1
0
 public IDataResult <Payment> GetPaymentByCustomerId(int customerId)
 {
     return(new SuccessDataResult <Payment>(_paymentDal.GetById(p => p.CustomerId == customerId)));
 }