Beispiel #1
0
 public void Comment(Comment comment)
 {
     comment.PostedDate = DateTime.Now;
     commentStorage.Add(comment);
 }
Beispiel #2
0
        public async Task <OperationResult> Add(CommentVM commentVM)
        {
            await _commentStorage.Add(commentVM);

            return(OperationResult.Success);
        }