Esempio n. 1
0
 public ShiftDate(int dateId, DateTime dateWorked, StaffMember actualStaffMember, int staffMemberId) //working with method inside StaffMember
 {
     _dateId       = dateId;
     myStaffMember = actualStaffMember;//chris 19.05
     myStaffMember.AddShiftDate(this);
     _staffMemberId = staffMemberId;
     _dateWorked    = dateWorked;
 }
Esempio n. 2
0
 public Shift(int shiftId, string shiftType, string shiftDiscription, double shiftHours, StaffMember tempStaffMember)
 {
     _shiftId          = shiftId;
     _shiftType        = shiftType;
     _shiftDiscription = shiftDiscription;
     _shiftHours       = shiftHours;
     myStaffMember     = tempStaffMember;
     myStaffMember.AddShift(this);
 }