public OperationResult <INoticeDTO> GetNotice(int noticeId) { INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC); return(noticeBDC.GetNotice(noticeId)); }
public OperationResult <INoticeDTO> UpdateNotice(INoticeDTO noticeDTO) { INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC); return(noticeBDC.UpdateNotice(noticeDTO)); }
public OperationResult <bool> DeleteNotice(int noticeId) { INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC); return(noticeBDC.DeleteNotice(noticeId)); }
public OperationResult <IList <INoticeDTO> > GetActiveNotices() { INoticeBDC noticeBDC = (INoticeBDC)BDCFactory.Instance.Create(BDCType.NoticeManagerBDC); return(noticeBDC.GetActiveNotices()); }