public async Task <IActionResult> AddComment(AddCommentViewModel comment) { await _commentService.AddCommentToProductAsync(comment.ProductId, _userManager.GetUserId(User), comment.Text); return(RedirectToAction("Details", "Products", new { id = comment.ProductId })); }