public override bool Works() { if (AssignedDevice != null) { return(AssignedDevice.Works()); } else if (AssignedPerson != null) { return(AssignedPerson.Works()); } return(false); }
public override bool Works() { return(Id.Works() || AssignedPerson.Works()); }