コード例 #1
0
 /// <summary>
 /// 新增Post的留言
 /// </summary>
 /// <param name="postMessageVO">被新增的Post的留言</param>
 /// <returns>新增後的Post的留言</returns>
 public PostMessageVO CreatePostMessage(PostMessageVO postMessageVO)
 {
     return(PostMessageDao.CreatePostMessage(postMessageVO));
 }
コード例 #2
0
 /// <summary>
 /// 刪除Post的留言
 /// </summary>
 /// <param name="postMessageVO">被刪除的Post的留言</param>
 public void DeletePostMessage(PostMessageVO postMessageVO)
 {
     PostMessageDao.DeletePostMessage(postMessageVO);
 }
コード例 #3
0
 /// <summary>
 /// 刪除Post的留言
 /// </summary>
 /// <param name="postMessageVO">被刪除的Post的留言</param>
 public void DeletePostMessage(PostMessageVO postMessageVO)
 {
     NHibernateDao.Delete(postMessageVO);
 }