public static void DeletePlanner(int itineraryId) { DayDAO.DeleteDay(itineraryId); DayByDayDAO.DeleteDayByDay(itineraryId); ItineraryDAO.DeleteItinerary(itineraryId); }
public List <DayByDay> RetrieveByItinerary(int Id) { return(DayByDayDAO.GetByItinerary(Id)); }
public DayByDay RetrieveDayByDayIdByDate(string date, int itineraryId) { return(DayByDayDAO.RetrieveDayByDayByDate(date, itineraryId)); }
public void AddDayByDay() { DayByDayDAO.AddDayByDay(this); }