Example #1
0
        public Position GetPrimaryPosition(Organization organization)
        {
            PositionAssignment assignment = GetPrimaryAssignment(organization);

            if (assignment == null)
            {
                return(null);
            }

            return(assignment.Position);
        }
Example #2
0
 public PositionAssignment Assign(Person person, Person assignedByPerson, Position assignedByPosition,
                                  string assignmentNotes, DateTime?expiresUtc)
 {
     return(PositionAssignment.Create(this, null, person, assignedByPerson,
                                      assignedByPosition, expiresUtc, assignmentNotes));
 }