public PersonalLoan Get(string name) { try { return(_personalLoanProvider.GetAll().Single(personalLoan => personalLoan.Name == name)); } catch (Exception ex) { var log = _logProvider.Format(ex); _logProvider.Append(log); return(null); } }
public PersonalLoan Get(string name) { try { return(_personalLoanProvider.GetAll().Single(personalLoan => personalLoan.Name == name)); } catch (Exception ex) { var log = _logProvider.Format(ex); _logProvider.Append(log); return(null); } }