예제 #1
0
 public Invoice Get(int id)
 {
     return(_invoiceDal.Get(i => i.InvoiceId == id));
 }
예제 #2
0
 public IDataResult <Invoice> GetById(int invoiceId)
 {
     return(new SuccessDataResult <Invoice>(_invoiceDal.Get(i => i.Id == invoiceId)));
 }