Ejemplo n.º 1
0
        public IncidentReviewInfo Test(IncidentReviewInfoDTO dto)
        {
            var review = new IncidentReviewInfo()
            {
                ReviewId = dto.ReviewId
            };

            return(review);
        }
        public IncidentReviewInfoDTO MapToReviewInfoDTO(IncidentReviewEntity source, IncidentReviewInfoDTO target = null)
        {
            if (source == null)
            {
                return(null);
            }
            if (target == null)
            {
                target = new IncidentReviewInfoDTO();
            }

            MapToVersionInfoDTO(source, target);
            target.ReviewId     = source.ReviewId;
            target.AuthorName   = source.AuthorName;
            target.AuthorUserId = source.AuthorUserId;

            return(target);
        }
 public IncidentReviewEntity GetReviewEntity(IncidentReviewInfoDTO source)
 {
     return(DefaultGet <IncidentReviewInfoDTO, IncidentReviewEntity>(source));
 }