Add LeaveRange to Result
This commit is contained in:
parent
c031311429
commit
8f278b608d
2 changed files with 4 additions and 1 deletions
|
|
@ -1072,7 +1072,8 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
Position = profile.Position == null ? "" : profile.Position.Name,
|
||||
Level = profile.PositionLevel == null ? "" : profile.PositionLevel.Name,
|
||||
Agency = agency == null ? "" : agency.Name,
|
||||
Org = gov_agency == null ? "" : gov_agency.Name
|
||||
Org = gov_agency == null ? "" : gov_agency.Name,
|
||||
LeaveRange = item.LeaveRange ?? "ALL"
|
||||
};
|
||||
result.Add(res);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,5 +27,7 @@
|
|||
public string Position { get; set; } = string.Empty;
|
||||
|
||||
public string Level { get; set; } = string.Empty;
|
||||
|
||||
public string LeaveRange { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue