public IResult Add(CreditScore entity) { var newCredit = CalculateCreditScore(entity).Data; _creditScoreDal.Add(newCredit); return(new SuccessResult(Messages.CreditScoreAdded)); }
public IResult Add(CreditScore creditScore) { _creditScoreDal.Add(creditScore); return(new SuccessResult(Messages.CreditScoreAdded)); }