Пример #1
0
 public static CarBrandOut fromCarBrand(CarBrand carBrand)
 {
     return(new CarBrandOut {
         Id = carBrand.Id, Name = carBrand.Name
     });
 }
Пример #2
0
 public static CarBrandIn fromCarBrand(CarBrand carBrand)
 {
     return(new CarBrandIn {
         Name = carBrand.Name
     });
 }