Пример #1
0
        private RatingScoreDto CreateDto(RatingScore entity)
        {
            var dto = new RatingScoreDto {
                Name = entity.RatedBy.UserName, Score = entity.Score, RatingScoreId = entity.RatingScoreId
            };

            return(dto);
        }
Пример #2
0
 private RatingScoreDto CreateDto(RatingScore entity)
 {
     var dto = new RatingScoreDto {Name = entity.RatedBy.UserName, Score = entity.Score, RatingScoreId = entity.RatingScoreId};
     return dto;
 }