// GET: CRMRatingsandComments public ActionResult Index() { try { RatingAndCommentViewModels model = new RatingAndCommentViewModels(); return(View(model)); } catch (Exception ex) { NSLog.Logger.Error("RatingAndComment_Index:", ex); return(new HttpStatusCodeResult(400, ex.Message)); } }
public ActionResult Search(RatingAndCommentViewModels model) { try { var data = _factory.GetListofProductFeatures(CurrentUser.UserId); model.ListRatingAndComment = data; } catch (Exception ex) { NSLog.Logger.Error("RatingAndComment_Search: ", ex); return(new HttpStatusCodeResult(400, ex.Message)); } return(PartialView("_ListData", model)); }