public string UpdateCalendarInfoForMobile(string title, string content, string reminderrmodel, string reparteminder, string employeeID, string strHourMins, string calenderID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return(calendarBll.UpdateCalendarInfoForMobile(title, content, reminderrmodel, reparteminder, employeeID, strHourMins, calenderID)); } }
public int UpdateCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return calendarBll.UpdateCalendarInfo(obj); } }
public T_OA_CALENDAR GetCalendarInfoByID(string calendarID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return(calendarBll.GetCalendarInfo(calendarID)); } }
public int UpdateCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return(calendarBll.UpdateCalendarInfo(obj)); } }
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 AddCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { bool sucess = calendarBll.AddCalendarInfo(obj); if (sucess == false) { return(-1); } return(1); } }
public int AddCalendar(T_OA_CALENDAR obj) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { bool sucess = calendarBll.AddCalendarInfo(obj); if (sucess == false) { 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 List <T_OA_CALENDAR> GetCalendarListByUserID(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { IQueryable <T_OA_CALENDAR> calendarList = calendarBll.GetCalendarListByUserID(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID); if (calendarList == null) { return(null); } else { return(calendarList.ToList()); } } }
public List<T_OA_CALENDAR> GetCalendarListByUserID(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { IQueryable<T_OA_CALENDAR> calendarList = calendarBll.GetCalendarListByUserID(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID); if (calendarList == null) { return null; } else { return calendarList.ToList(); } } }
public List <T_OA_CALENDAR> GetApporvalList22(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, LoginUserInfo loginUserInfo) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { IQueryable <T_OA_CALENDAR> approvalList = calendarBll.GetCalendarList(pageIndex, pageSize, sort, filterString, paras, ref pageCount, loginUserInfo.userID); if (approvalList == null) { return(null); } else { return(approvalList.ToList()); } } }
public T_OA_CALENDAR GetCalendarInfoByID(string calendarID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return calendarBll.GetCalendarInfo(calendarID); } }
public string UpdateCalendarInfoForMobile(string title, string content, string reminderrmodel, string reparteminder, string employeeID, string strHourMins, string calenderID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { return calendarBll.UpdateCalendarInfoForMobile(title, content, reminderrmodel, reparteminder, employeeID, strHourMins, calenderID); } }
public int DelCalendarForMobile(string calendarID) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { if (calendarBll.DeleteCalendarInfo(calendarID)) { return 1; } return -1; } }
public List<T_OA_CALENDAR> GetApporvalList22(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, LoginUserInfo loginUserInfo) { using (CalendarManagementBll calendarBll = new CalendarManagementBll()) { IQueryable<T_OA_CALENDAR> approvalList = calendarBll.GetCalendarList(pageIndex, pageSize, sort, filterString, paras, ref pageCount, loginUserInfo.userID); if (approvalList == null) { return null; } else { return approvalList.ToList(); } } }