/// <summary> /// 新增Post的留言 /// </summary> /// <param name="postMessageVO">被新增的Post的留言</param> /// <returns>新增後的Post的留言</returns> public PostMessageVO CreatePostMessage(PostMessageVO postMessageVO) { return PostMessageDao.CreatePostMessage(postMessageVO); }
/// <summary> /// 刪除Post的留言 /// </summary> /// <param name="postMessageVO">被刪除的Post的留言</param> public void DeletePostMessage(PostMessageVO postMessageVO) { PostMessageDao.DeletePostMessage(postMessageVO); }
/// <summary> /// 刪除Post的留言 /// </summary> /// <param name="postMessageVO">被刪除的Post的留言</param> public void DeletePostMessage(PostMessageVO postMessageVO) { NHibernateDao.Delete(postMessageVO); }