Beispiel #1
0
 public ColorDto(IColorDto item)
 {
     if (item != null)
     {
         Id      = item.Id;
         Name    = item.Name;
         Comment = item.Comment;
     }
 }
Beispiel #2
0
 private ColorDto _map(IColorDto item)
 {
     return(new ColorDto(item));
 }
Beispiel #3
0
 public Check2ColorDto(IColorDto item, int checkId)
 {
     IdCheck = checkId;
     IdColor = item.Id;
     Comment = item.Comment;
 }