コード例 #1
0
 public void Comment(Comment comment)
 {
     comment.PostedDate = DateTime.Now;
     commentStorage.Add(comment);
 }
コード例 #2
0
ファイル: CommentBuilder.cs プロジェクト: Ptize/NewsPortal
        public async Task <OperationResult> Add(CommentVM commentVM)
        {
            await _commentStorage.Add(commentVM);

            return(OperationResult.Success);
        }