Пример #1
0
        public IActionResult AddComment(AddCommentViewModel model)
        {
            var serviceResult = _userService.AddCommentForProduct(model.ToDto(), UserId);

            return(View_Get(serviceResult, $"{nameof(Detail)}/{model.ProductId}"));
        }