BlogSharp.Core.Impl.Services.Post.PostService.AddComment C# (CSharp) 메소드

AddComment() 공개 메소드

public AddComment ( Feedback comment ) : void
comment Feedback
리턴 void
		public void AddComment(Feedback comment)
		{
			var commentAdding = new CommentAddingEventArgs(this, comment);
			CommentAdding.Raise(commentAdding);
			if (commentAdding.Cancel)
				return;
			postRepository.SaveComment(comment);
			var commentAdded = new CommentAddedEventArgs(this, comment);
			CommentAdded.Raise(commentAdded);
		}