示例#1
0
 public int DelCalendar(T_OA_CALENDAR obj)
 {
     using (CalendarManagementBll calendarBll = new CalendarManagementBll())
     {
         if (calendarBll.DeleteCalendarInfo(obj.CALENDARID))
         {
             return(1);
         }
         return(-1);
     }
 }
示例#2
0
 public int DelCalendarForMobile(string calendarID)
 {
     using (CalendarManagementBll calendarBll = new CalendarManagementBll())
     {
         if (calendarBll.DeleteCalendarInfo(calendarID))
         {
             return(1);
         }
         return(-1);
     }
 }
示例#3
0
 public int DelCalendar(T_OA_CALENDAR obj)
 {
     using (CalendarManagementBll calendarBll = new CalendarManagementBll())
     {
         
         if (calendarBll.DeleteCalendarInfo(obj.CALENDARID))
         {
             return 1;
         }
         return -1;
     }
 }
示例#4
0
 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);
     }
 }
示例#5
0
 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;
     }
 }
示例#6
0
 public int DelCalendarForMobile(string calendarID)
 {
     using (CalendarManagementBll calendarBll = new CalendarManagementBll())
     {
         if (calendarBll.DeleteCalendarInfo(calendarID))
         {
             return 1;
         }
         return -1;
     }
 }