public ActionResult Delete(Guid id, Guid KnowledgeId) { _iKnowledgeReplyService.Delete(id); _unitOfWork.Commit(); return(RedirectToAction("Index", new { KnowledgeId })); }
public ActionResult Delete(Guid id) { _iKnowledgeReplyService.Delete(id); _unitOfWork.Commit(); return(Content("True")); }