Skip to content

Error in MortgageController.cs, exception was throw. #3

@Eliaxs1900

Description

@Eliaxs1900

I pulled this repository, following the steps of page 344-346 i received this error:

Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLNNMLQLRAUU", Request id "0HLNNMLQLRAUU:00000001": An unhandled exception was thrown by the application.
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: count
at System.Linq.Enumerable.Range(Int32 start, Int32 count)
at Optimizer.MortgageController.GetBestRepaymentDate(Decimal AmountRepaid, Decimal ReplacementFixRate, Mortgage m) in /app/MortgageController.cs:line 18
at lambda_method(Closure , Object , Object[] )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions