public async Task <CommentViewModel> GetComment(int id) { var comment = await _commentLogic.Get(id); return(new CommentViewModel { Comment = comment.Text, Id = comment.Id }); }
public async Task <CommentViewModel> GetComment(int id) { var comment = await _commentLogic.Get(id); return(new CommentViewModel { Comment = comment.Text, Id = comment.Id }); }