public static SegmentViewModel Create(SegmentDomainModel segmentDomain)
 {
     return new SegmentViewModel
     {
         Id = segmentDomain.Id,
         CarSegment = segmentDomain.CarSegment,
     };
 }
Esempio n. 2
0
 public static Segment Create(SegmentDomainModel segmentDomain)
 {
     return(new Segment
     {
         Id = segmentDomain.Id,
         CarSegment = segmentDomain.CarSegment,
     });
 }
Esempio n. 3
0
 public static Segment CreateSegment(this SegmentDomainModel segmentDomain)
 {
     return(Create(segmentDomain));
 }