Пример #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)));
 }