public JsonResult AddSubComment(SecondLevelComment secondLevelComment) { secondLevelComment.CommentDate = DateTime.Now; _secondLevelCommentService.Add(secondLevelComment); return(Json(secondLevelComment)); }
public IResult Update(SecondLevelComment secondLevelComment) { _secondLevelCommentDal.Update(secondLevelComment); return(new SuccessResult(Messages.Success)); }