public ActionResult Publish(int id) { //approves/publishes the given edit directly (if user has permission) using (var editQueueManager = new EditQueueManager()) { editQueueManager.ProcessEditQueueItem(id, true, (int)Session["UserID"]); return RedirectToAction("Index", "EditQueue"); } }
public ActionResult MarkAsProcessed(int id) { //marks item as processed without publishing the edit using (var editQueueManager = new EditQueueManager()) { editQueueManager.ProcessEditQueueItem(id, false, (int)Session["UserID"]); return RedirectToAction("Index", "EditQueue"); } }