public async Task <IActionResult> DeleteComment(int id) { Result result = await _commentGateway.Delete(id); return(this.CreateResult(result)); }
public void DeleteComment(int commentId) { _commentGateway.Delete(commentId); }