Skip to content

Commit

Permalink
tweak employerbenefits class
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Dec 20, 2023
1 parent 5189ad8 commit 764f599
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Shared/Models/EmployerBenefits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class EmployerBenefits : DataDocument
{
// back pointer
[JsonIgnore]
public Person person { get; set; }
public object? person { get; set; }

private string? _Company;
public string? Company {
Expand All @@ -71,16 +71,6 @@ public string? Company {
_Company = value;
}
}
public int Year
{
get {
if (person?.FamilyData != null) {
return person.FamilyData.Year;
} else {
throw new Exception("EmployerBenefits.Year in unexpected state");
}
}
}

[JsonIgnore]
public bool Downloaded { get; set; }
Expand Down

0 comments on commit 764f599

Please sign in to comment.