public void InsertReply(Reply reply) { if (reply == null) throw new ArgumentNullException("reply"); _replyRepo.Insert(reply); _eventPublisher.EntityInserted(reply); }
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"); }