bool FindPerson(Person p) { return p.ID == personToFindID; }
/// <summary> /// Send real-time update of this milestone with the given attributes. /// </summary> /// <param name="newTitle"></param> /// <param name="newDeadline"></param> /// <param name="newResponsible"></param> /// <param name="shiftOthers"></param> /// <param name="offWeekends"></param> /// <param name="notify"></param> public void Update(string newTitle, DateTime newDeadline, Person newResponsible, bool shiftOthers, bool offWeekends, bool notify) { title = newTitle; deadline = newDeadline; personID = newResponsible.ID; camp.Call("/milestones/update/" + id,XmlForUpdate(notify, shiftOthers, offWeekends)); }