コード例 #1
0
        public OperationResult <INoticeDTO> GetNotice(int noticeId)
        {
            INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC);

            return(noticeBDC.GetNotice(noticeId));
        }
コード例 #2
0
        public OperationResult <INoticeDTO> UpdateNotice(INoticeDTO noticeDTO)
        {
            INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC);

            return(noticeBDC.UpdateNotice(noticeDTO));
        }
コード例 #3
0
        public OperationResult <bool> DeleteNotice(int noticeId)
        {
            INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC);

            return(noticeBDC.DeleteNotice(noticeId));
        }
コード例 #4
0
        public OperationResult <IList <INoticeDTO> > GetActiveNotices()
        {
            INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC);

            return(noticeBDC.GetActiveNotices());
        }