Esempio n. 1
0
        private RatingScoreDto CreateDto(RatingScore entity)
        {
            var dto = new RatingScoreDto {
                Name = entity.RatedBy.UserName, Score = entity.Score, RatingScoreId = entity.RatingScoreId
            };

            return(dto);
        }
Esempio n. 2
0
 private RatingScoreDto CreateDto(RatingScore entity)
 {
     var dto = new RatingScoreDto {Name = entity.RatedBy.UserName, Score = entity.Score, RatingScoreId = entity.RatingScoreId};
     return dto;
 }