Beispiel #1
0
        public async Task <IActionResult> DeleteComment(int id)
        {
            Result result = await _commentGateway.Delete(id);

            return(this.CreateResult(result));
        }
Beispiel #2
0
 public void DeleteComment(int commentId)
 {
     _commentGateway.Delete(commentId);
 }