public ReviewModel AddReviewModel(ReviewModel model) { ReviewModel newModel = Review.Add(model); IRatingAggregator ratingAggregator = new RatingAggregator.RatingAggregator(this); ratingAggregator.OnInsertOfReviewRecord(newModel); return(newModel); }
public PositionModel AddPositionModel(PositionModel model) { PositionModel newModel = Position.Add(model); IRatingAggregator ratingAggregator = new RatingAggregator.RatingAggregator(this); ratingAggregator.OnInsertOfPositionRecord(newModel); return(newModel); }