public ActionResult Create(Guid projectInfoId, ProjectInfoReply item)
        {
            _iProjectInfoReplyService.Save(null, item);
            _unitOfWork.Commit();

            return(RedirectToAction("Index", new { projectInfoId }));
        }
Exemple #2
0
        public ActionResult Create(string entity)
        {
            var item = (ProjectInfoReply)JsonConvert.DeserializeObject(entity, typeof(ProjectInfoReply));

            _iProjectInfoReplyService.Save(null, item);
            _unitOfWork.Commit();
            return(Content("True"));
        }