public ActionResult Create(Guid projectInfoId, ProjectInfoReply item) { _iProjectInfoReplyService.Save(null, item); _unitOfWork.Commit(); return(RedirectToAction("Index", new { projectInfoId })); }
public ActionResult Create(string entity) { var item = (ProjectInfoReply)JsonConvert.DeserializeObject(entity, typeof(ProjectInfoReply)); _iProjectInfoReplyService.Save(null, item); _unitOfWork.Commit(); return(Content("True")); }