예제 #1
0
        public ReviewModel AddReviewModel(ReviewModel model)
        {
            ReviewModel       newModel         = Review.Add(model);
            IRatingAggregator ratingAggregator = new RatingAggregator.RatingAggregator(this);

            ratingAggregator.OnInsertOfReviewRecord(newModel);

            return(newModel);
        }
예제 #2
0
        public PositionModel AddPositionModel(PositionModel model)
        {
            PositionModel     newModel         = Position.Add(model);
            IRatingAggregator ratingAggregator = new RatingAggregator.RatingAggregator(this);

            ratingAggregator.OnInsertOfPositionRecord(newModel);

            return(newModel);
        }