public ActionResult ShowCommentProduct(int productId) { var model = obkRepo.GetCommentsProduct(productId); if (model == null) { model = new OBK_RS_ProductsCom(); } if (Request.IsAjaxRequest()) { return(PartialView(model)); } return(View(model)); }