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