private PersonalLoan Convert(PersonalLoanVm dest) => new PersonalLoan { App = new App { Data = dest?.App?.Data }, Accounts = dest?.Accounts?.Select(a => new Account { Name = a.Name }) };
public async Task <bool> ConsumerRetry( PersonalLoanVm app) { return(await coreBankingService.ApplyFor(Convert(app))); }
public Task <bool> ConsumerRetry(PersonalLoanVm app) { throw new NotImplementedException(); }