コード例 #1
0
        public void InsertReply(Reply reply)
        {
            if (reply == null)
                throw new ArgumentNullException("reply");

            _replyRepo.Insert(reply);

            _eventPublisher.EntityInserted(reply);
        }
コード例 #2
0
        public void UpdateReply(Reply reply)
        {
            if (reply == null)
                throw new ArgumentNullException("reply");

            _replyRepo.Update(reply);

            _eventPublisher.EntityUpdated(reply);
        }
コード例 #3
0
 public ActionResult Edit(Reply model)
 {
     return View("Edit");
 }