Example #1
0
 public ReturnBook GetById(int id)
 {
     return(_returnBookDal.Get(rb => rb.Id == id));
 }
Example #2
0
 public IDataResult <ReturnBook> GetById(int id)
 {
     return(new SuccessDataResult <ReturnBook>(_returnBookDal.Get(r => r.ReturnBookId == id)));
 }