// add availability to this person public void AddAvailabilitySlot(string day, string availability) { // create a new shift object ShiftOld newAvailability = new ShiftOld(); newAvailability.shiftName = "Availble"; // add the start and end time newAvailability.startHour = availability.Split('-')[0]; newAvailability.endHour = availability.Split('-')[1]; // add to data structure _availabilities[day].Add(newAvailability); }
public void AssignShift(ShiftOld newShift) { }