public int DelCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { if (calendarBll.DeleteCalendarInfo(obj.CALENDARID)) { return(1); } return(-1); } }
public int DelCalendarForMobile(string calendarID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { if (calendarBll.DeleteCalendarInfo(calendarID)) { return(1); } return(-1); } }
public int DelCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { if (calendarBll.DeleteCalendarInfo(obj.CALENDARID)) { return 1; } return -1; } }
public int DelCalendarList(List <T_OA_CALENDAR> infoList) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { foreach (T_OA_CALENDAR obj in infoList) { if (!calendarBll.DeleteCalendarInfo(obj.CALENDARID)) { return(-1); } } return(1); } }
public int DelCalendarList(List<T_OA_CALENDAR> infoList) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { foreach (T_OA_CALENDAR obj in infoList) { if (!calendarBll.DeleteCalendarInfo(obj.CALENDARID)) { return -1; } } return 1; } }
public int DelCalendarForMobile(string calendarID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { if (calendarBll.DeleteCalendarInfo(calendarID)) { return 1; } return -1; } }