public ActionResult AddRate(RatingDto newRate) { newRate.CurrentUserId = GetCurrentUser().Id; newRate.EntityTypeId = (int)RatingEntityTypesEnum.ItemsForReview; return(GetStatusCodeResult(_ratingManager.AddOrUpdate(newRate))); }
public ActionResult AddRate(RatingDto newRate) { newRate.CurrentUserId = GetCurrentUser().Id; newRate.EntityTypeId = (int)RatingEntityTypesEnum.ItemsForReview; return(GetStatusCodeResult(_ratingManager.AddOrUpdate(newRate))); }