Skip to main content
6 events
when toggle format what by license comment
May 10, 2020 at 16:52 comment added mrdnk Changed to use StatusType, thanks for comments from @iSR5. Note, I made an assumption about the Logic being tightened to InProgress, this may not be the case. In which case, we can re-evaluate.
May 10, 2020 at 16:51 history edited mrdnk CC BY-SA 4.0
added 208 characters in body
May 10, 2020 at 16:41 comment added mrdnk Well the Individual class should also implement the StatusType and use the Status.Id - though this depends on the implementation. But that was a good spot, will update in second
May 10, 2020 at 16:34 comment added iSR5 I think the storedIndividual.Status stores the old status while the individual.StatusModel.Id stores the new status, and if that's true, then your example would return different results. since the OP logic is tighten to InProgress status.
May 10, 2020 at 16:23 history edited mrdnk CC BY-SA 4.0
added 37 characters in body
May 10, 2020 at 16:18 history answered mrdnk CC BY-SA 4.0