Exemplo n.º 1
0
        public void InsertReply(Reply reply)
        {
            if (reply == null)
                throw new ArgumentNullException("reply");

            _replyRepo.Insert(reply);

            _eventPublisher.EntityInserted(reply);
        }
Exemplo n.º 2
0
        public void UpdateReply(Reply reply)
        {
            if (reply == null)
                throw new ArgumentNullException("reply");

            _replyRepo.Update(reply);

            _eventPublisher.EntityUpdated(reply);
        }
 public ActionResult Edit(Reply model)
 {
     return View("Edit");
 }