public IDataResult <CreditScore> GetById(int id)
 {
     return(new SuccessDataResult <CreditScore>(_creditScoreDal.Get(c => c.CreditScoreId == id)));
 }
Ejemplo n.º 2
0
 public IDataResult <CreditScore> GetByCustomerId(int customerId)
 {
     return(new SuccessDataResult <CreditScore>(_creditScoreDal.Get(cs => cs.CustomerId == customerId)));
 }