public ProductCommentPartialViewModel(ProductComment comment, ReplyCommentInputModel replyCommentInputModels, ProductRatingViewModel userProductRating, int commentCounter) { Comment = comment; UserProductRating = userProductRating; CommentCounter = commentCounter; ReplyCommentInputModel = replyCommentInputModels; }
public ProductCommentPartialViewModel(ProductComment comment, ReplyCommentInputModel replyCommentInputModels, ProductRatingViewModel userProductRating, string currentUserId, int commentCounter, int repliesCount = 0) { Comment = comment; UserProductRating = userProductRating; RepliesCount = repliesCount; CurrentUserId = currentUserId; CommentCounter = commentCounter; ReplyCommentInputModel = replyCommentInputModels; }