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