public async Task <ActionResult> AddNewComment(string newsId, [FromBody] Comment comment) { await _repository.AddNewComment(newsId, comment); return(Ok()); }
public async Task <ActionResult> AddNewComment(string newsId, [FromBody] Comment comment) { await _repository.AddNewComment(newsId, comment); return(Ok()); }