public bool Process(AccountDetails bankAccountDetails) { bankAccountDetails.FirstResult = _modulustypechecker.GetFirstModulusCalculation(bankAccountDetails); if (NeedsSecondCheck(bankAccountDetails)) { return(_modulustypechecker.GetSecondModulusCalculation(bankAccountDetails)); } else { return(bankAccountDetails.FirstResult); } }